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
1 Hi,
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:
6 - distutils vs setuptools use
8 - entry points requiring RDEPEND on setuptools
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.
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.
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.
25 So would anyone mind me removing it entirely?
27 --
28 Best regards,
29 Michał Górny


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