[PATCH 0/3] Pre-EAPI 9 Python eclasses cleanup

Michał Górny <[email protected]> Tue, 9 Jun 2026 20:11:07 +0200
Newsgroups gmane.linux.gentoo.devel
Message-ID <[email protected]>
Hello,

A few patches for Python eclasses, prior to EAPI 9 proper (still blocked
on dependents):

1. Require Python < 3.12 to be cleaned up from PYTHON_COMPAT in EAPI 9.
   This is meant to cover only the implementations that are "old" now.
   Next disabled implementations will again be ignored silently until
   next EAPI.

2. Make missing DISTUTILS_EXT QA warning fatal in EAPI 9.

3. Align DISTUTILS_USE_PEP517 values to package names.  New values
   are required in EAPI 9, EAPIs 7&8 happily accept old values.  This
   covers:

     flit → flit-core
     flit_scm → flit-scm
     jupyter → jupyter-packaging
     poetry → poetry-core



Michał Górny (3):
  python-utils-r1.eclass: Require old impl cleanup for EAPI 9
  distutils-r1.eclass: Make missing DISTUTILS_EXT fatal in EAPI 9
  distutils-r1.eclass: Align DISTUTILS_USE_PEP517 to package names

 eclass/distutils-r1.eclass    | 155 +++++++++-------------------------
 eclass/python-utils-r1.eclass |  17 +++-
 2 files changed, 58 insertions(+), 114 deletions(-)