From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] install-qa-check.d: do not request DISTUTILS_USE_SETUPTOOLS=no
Date: Sun, 09 Jan 2022 09:22:18 +0100 [thread overview]
Message-ID: <8499f2d0bf71c8dc82386917d79180d6cf3316b1.camel@gentoo.org> (raw)
In-Reply-To: <20220109081548.123208-1-mgorny@gentoo.org>
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
prev parent reply other threads:[~2022-01-09 8:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-09 8:15 [gentoo-dev] [PATCH] install-qa-check.d: do not request DISTUTILS_USE_SETUPTOOLS=no Michał Górny
2022-01-09 8:22 ` Michał Górny [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8499f2d0bf71c8dc82386917d79180d6cf3316b1.camel@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox