• [gentoo-dev] RFC: removing DISTUTILS_USE_SETUPTOOLS QA check

    From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to All on Thu Jan 13 17:10:01 2022
    Hi,

    I'd like to remove the DISTUTILS_USE_SETUPTOOLS QA check. It used to be helpful when we were dealing with some tricky cases, notably:

    - distutils vs setuptools use

    - entry points requiring RDEPEND on setuptools

    However, both of these are no longer really relevant. Distutils is
    being removed in favor of vendoring it in setuptools, PEP 517 requires
    building distutils packages via setuptools, and entry points no longer
    require any dependencies.

    Right now the only remaining purpose of the check is checking
    install_requires for explicit dependency on setuptools. However, this
    is like any other dependency and the devs can declare it explicitly
    instead.

    Giving that a new major eclass redesign is coming as part of PEP517
    support and it's killing DISTUTILS_USE_SETUPTOOLS entirely,
    and the check is misfiring again, I don't feel like there's much point
    in trying to fix it again.

    So would anyone mind me removing it entirely?

    --
    Best regards,
    Michał Górny

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anna Vyalkova@21:1/5 to All on Thu Jan 13 17:20:02 2022
    On 2022-01-13 17:09, Michał Górny wrote:
    So would anyone mind me removing it entirely?

    I'd appreciate getting fewer bugs on Bugzilla ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)