From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2C2E158089 for ; Mon, 4 Sep 2023 13:21:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD9132BC021; Mon, 4 Sep 2023 13:21:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C98462BC021 for ; Mon, 4 Sep 2023 13:21:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B1DC335C7A for ; Mon, 4 Sep 2023 13:21:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BBBDD106B for ; Mon, 4 Sep 2023 13:21:53 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1693833658.3251a8ba252aa56278cdfabd74a2490697db5cae.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/maturin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/maturin/maturin-1.2.3.ebuild X-VCS-Directories: dev-util/maturin/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 3251a8ba252aa56278cdfabd74a2490697db5cae X-VCS-Branch: master Date: Mon, 4 Sep 2023 13:21:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a0d6f982-89ce-42c4-80da-b6b2bb531d6a X-Archives-Hash: 8c05de76c4a3961856acfc1cbfaa7756 commit: 3251a8ba252aa56278cdfabd74a2490697db5cae Author: Ionen Wolkens gentoo org> AuthorDate: Mon Sep 4 13:17:44 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Sep 4 13:20:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3251a8ba dev-util/maturin: silence pip for tests We are the ones allowing pip to use system packages (to avoid network), and then bad packages can generate noise, then test failure. Was tempted to say "these packages should just be fixed to use pep517", but different issues are going to come around eventually. Ideally would want a more specific option to hide these warnings, but I only know of -qq to be "really quiet". Closes: https://bugs.gentoo.org/913613 Signed-off-by: Ionen Wolkens gentoo.org> dev-util/maturin/maturin-1.2.3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/maturin/maturin-1.2.3.ebuild b/dev-util/maturin/maturin-1.2.3.ebuild index 4552aea55d0c..df491b1daa41 100644 --- a/dev-util/maturin/maturin-1.2.3.ebuild +++ b/dev-util/maturin/maturin-1.2.3.ebuild @@ -411,8 +411,12 @@ src_prepare() { distutils-r1_src_prepare if use test; then - # used to prevent use of network during tests + # used to prevent use of network during tests, and silence pip + # if it finds unrelated issues with system packages (bug #913613) cat > "${T}"/pip.conf <<-EOF || die + [global] + quiet = 2 + [install] no-index = yes no-dependencies = yes