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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E31AC158042 for ; Tue, 12 Nov 2024 19:24:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05C5CE085A; Tue, 12 Nov 2024 19:24:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB1ACE0855 for ; Tue, 12 Nov 2024 19:24:02 +0000 (UTC) From: Eli Schwartz To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH v2 2/2] distutils-r1.eclass: disable setuptools validation of pypi.org allowed strings Date: Tue, 12 Nov 2024 14:23:32 -0500 Message-ID: <20241112192355.2225195-2-eschwartz@gentoo.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241112192355.2225195-1-eschwartz@gentoo.org> References: <20241112192355.2225195-1-eschwartz@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: dbd0883a-5923-4db0-89fc-15707f4efe5c X-Archives-Hash: 4fa8788a3898cf8e5fdd7178c3c6721b In the previous commit, a change was patched into setuptools to enable skipping pypi.org specific validations we do not want. Export the environment variable which activates this, whenever the build backend is setuptools. Bug: https://github.com/pypa/setuptools/issues/4459 Signed-off-by: Eli Schwartz --- eclass/distutils-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 7ab8dcae3265..4cbe3e091c52 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1360,6 +1360,7 @@ distutils_pep517_install() { EOF ) fi + local -x GENTOO_VALIDATE_PYPROJECT_NO_TROVE_CLASSIFIERS=1 ;; sip) if [[ -n ${DISTUTILS_ARGS[@]} ]]; then -- 2.45.2