• [gentoo-dev] Please migrate your distutils-r1 ebuilds to use PEP517 bui

    From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to All on Sat Mar 9 15:40:02 2024
    Hi,

    Please consider the "legacy" build mode to be strongly deprecated, both
    in distutils-r1 and upstream (to the point that sole presence of
    packages installed that way triggers deprecation warnings elsewhere,
    sigh). Therefore, if you haven't done that already, please look into converting your packages to use PEP517 builds (DISTUTILS_USE_PEP517,
    installing .dist-info rather than .egg*). We'd like to eventually
    remove the legacy code paths from the eclass, as they are not well-
    tested at this point, and they certainly are lacking, compared to
    the newer code paths.

    This also applies to overlay maintainers, since overlays will be
    affected once we remove old code paths.

    The migration guide is here:

    https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-517-builds

    While at it, please also look at replacing `distutils_enable_tests
    setup.py` with one of the other test runners, as running `setup.py test`
    has been deprecated upstream as well. Or running `setup.py` at all, but
    the latter is less likely to suddenly stop working.

    --
    Best regards,
    Michał Górny


    -----BEGIN PGP SIGNATURE-----

    iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmXscvMSHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQO6eYH/jEBkPdgCA9giw/3EpLKXhkMFLuzqNzm r9wxXPg33XBzVKQhlGxJcxgn8NJWt9M+Xlw2yquoPhge9l691J+BU/Zo/tesp3Fp E9JWFJQ1MNzBmbk6/CTdbLXpZs5ROo7/QLZdKl4BmYqZilYnYakO/bZV+rCvSgeE uXoUOaj4vA3+e+ibBaqnoizh2msT2pUxqrbLi4rg3ZPrzG/QJIrax6hiYQFuRNSb MFDJzlxIfB8cxMtRT3rlNjleOK05WZlSX+OaLKHG6VL4zOSrPYN/KN4U4KKtaatA d/NvPE9YNwNHm3cwcn9GeH/OYMaV+85eH7H32qo+yCnSfnaBOkKhuNw=
    =gPao
    -----END PGP SIGNATURE-----

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