PEP 632: Remove the distutils package (Python 3.12) · Issue #92584 · python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

3.12only security fixes

type-bugAn unexpected behavior, bug, or error

https://github.com/pypa/pip/blob/cb24fb4052ca8ab8009866b0de61980c81a7e13c/src/pip/_internal/locations/_distutils.py#L9-L12

The distutils module was deprecated in Python 3.10 and is scheduled for removal in Python 3.12.

gh-92584: Remove the distutils package #99061

gh-92584: Remove references to removed _bootsubprocess #99062

gh-100238: Vendor distutils for peg_generator #104744

GH-92584: Move installation schemes overview to sysconfig docs #108018

GH-92584: Remove Installing Python Modules (Distutils version) #108020

GH-92584: Remove distutils from the newtypes tutorial includes #108024

GH-92584: Remove distutils mentions from importlib.metadata docs #108026

GH-92584: Redirect to Setuptools' guidance on extension modules #108030

GH-92584: Drop reference to Distutils in site.USER_BASE #108031

[3.12] GH-92584: Drop reference to Distutils in site.USER_BASE (GH-108031) #108039

GH-92584: Remove references to Distutils in PYTHONUSERBASE #108040

GH-92584: Remove references to Distutils in configure.rst #108043

GH-92584: Redirect macOS package installation to the PPUG #108044

GH-92584: Remove reference to Distutils in cx_Freeze's description #108047

[3.12] GH-92584: Remove reference to Distutils in cx_Freeze's description (GH-108047) #108057

[3.12] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) #108058

[3.11] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) #108059

[3.12] GH-92584: Remove references to Distutils in PYTHONUSERBASE (GH-108040) #108060

[3.11] GH-92584: Remove reference to Distutils in cx_Freeze's description (GH-108047) #108061

[3.12] GH-92584: Remove Installing Python Modules (Distutils version) (GH-108020) #108062

[3.12] GH-92584: Remove references to Distutils in configure.rst (GH-108043) #108063

[3.12] GH-92584: Remove distutils from the newtypes tutorial includes (GH-108024) #108333

[3.12] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018) #110213

[3.11] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018) #110214

Release and Deferred blockers 🚫