Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: removing DISTUTILS_USE_SETUPTOOLS QA check
Date: Thu, 13 Jan 2022 16:09:43
Message-Id: a9db354da69fb2b81becb4021feff0aa4f70b3f7.camel@gentoo.org
1 Hi,
2
3 I'd like to remove the DISTUTILS_USE_SETUPTOOLS QA check. It used to be
4 helpful when we were dealing with some tricky cases, notably:
5
6 - distutils vs setuptools use
7
8 - entry points requiring RDEPEND on setuptools
9
10 However, both of these are no longer really relevant. Distutils is
11 being removed in favor of vendoring it in setuptools, PEP 517 requires
12 building distutils packages via setuptools, and entry points no longer
13 require any dependencies.
14
15 Right now the only remaining purpose of the check is checking
16 install_requires for explicit dependency on setuptools. However, this
17 is like any other dependency and the devs can declare it explicitly
18 instead.
19
20 Giving that a new major eclass redesign is coming as part of PEP517
21 support and it's killing DISTUTILS_USE_SETUPTOOLS entirely,
22 and the check is misfiring again, I don't feel like there's much point
23 in trying to fix it again.
24
25 So would anyone mind me removing it entirely?
26
27 --
28 Best regards,
29 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] RFC: removing DISTUTILS_USE_SETUPTOOLS QA check Anna Vyalkova <cyber+gentoo@×××××.in>