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 096F0158086 for ; Sun, 9 Jan 2022 08:22:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E119B2BC023; Sun, 9 Jan 2022 08:22:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92BB32BC009 for ; Sun, 9 Jan 2022 08:22:22 +0000 (UTC) Message-ID: <8499f2d0bf71c8dc82386917d79180d6cf3316b1.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH] install-qa-check.d: do not request DISTUTILS_USE_SETUPTOOLS=no From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Sun, 09 Jan 2022 09:22:18 +0100 In-Reply-To: <20220109081548.123208-1-mgorny@gentoo.org> References: <20220109081548.123208-1-mgorny@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.2 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: ea111361-4727-4bf2-b1ac-6bcff12f6b79 X-Archives-Hash: 7f2ecc9941fd4b3c4b6a2897927f9614 On Sun, 2022-01-09 at 09:15 +0100, Michał Górny wrote: > The Python distutils deprecation is for real, and nowadays setuptools > installs hacks that override distutils with their own bundled version. > For this reason, the check no longer works reliably and even if it were, > we will eventually be requiring setuptools on all Python packages. > Avoid asking people to set DISTUTILS_USE_SETUPTOOLS=no; allow either > "no" or "bdepend" for the time being. > To be clearer: If you have setuptools-60+ installed (currently p.masked but not for very long), the check will always detect setuptools and demand "bdepend" from packages using pure distutils. With older setuptools, the current version will demand "no" instead -- effectively two devs could get conflicting demands. This change prevents that by allowing "bdepend" or "no" with setuptools<60. Setuptools 60+ will still demand "bdepend" and this is where we'll all eventually end up. -- Best regards, Michał Górny