Retire the distutils hack (remove top-level `distutils` injection)
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Part of the compilers decoupling epic #5264 (Phase 4). setuptools repo. Gated on Phases 1–3 shipping.
With replacements available (compilers.C public API + migration docs), retire the hack:
- Escalate the
SETUPTOOLS_USE_DISTUTILS=stdliband import-order deprecations from #4137 to removal (see also #3625 and #3622) - Remove
_distutils_hack.DistutilsMetaFinderand stop injecting the top-leveldistutilsname - Triage-close downstream deprecation noise (e.g. #4655 and generic "distutils deprecation warning" reports), pointing at the migration guide
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Phase 4 context in epic #5264 and the deprecation history in #4137, #3625, and #3622. Inspect _distutils_hack.DistutilsMetaFinder and its top-level distutils injection. Done means removing that mechanism, escalating the listed deprecations to removal, and triage-closing downstream reports such as #4655 with the migration guide.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, compilers
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100