René's URL Explorer Experiment


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

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

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

Description: The distutils module was deprecated in Python 3.10 and is scheduled for removal in Python 3.12. Right now, Python still uses distutils for different purpose: Build C extensions which can not be built by Makefile yet. Python 3.11 can buil...

Open Graph Description: The distutils module was deprecated in Python 3.10 and is scheduled for removal in Python 3.12. Right now, Python still uses distutils for different purpose: Build C extensions which can not be bui...

X Description: The distutils module was deprecated in Python 3.10 and is scheduled for removal in Python 3.12. Right now, Python still uses distutils for different purpose: Build C extensions which can not be bui...

Opengraph URL: https://github.com/python/cpython/issues/92584

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PEP 632: Remove the distutils package (Python 3.12)","articleBody":"The distutils module was deprecated in Python 3.10 and is scheduled for removal in Python 3.12.\r\n\r\nRight now, Python still uses distutils for different purpose:\r\n\r\n* Build C extensions which can not be built by Makefile yet. Python 3.11 can build way more C extensions with Makefile than Python 3.10.\r\n* peg_generator uses distutils to build C extensions.\r\n* test_cppext uses distutils to check that the Python C API can be used in C++.\r\n* ``Tools/c-analyzer/`` uses distutils to get a C preprocessor.\r\n\r\nUntil Python can be built and used without distutils, I propose to first rename the ``distutils`` package to ``_distutils``: rename th ``Lib/distutils/`` directory to ``Lib/_distutils/``.\r\n\r\nRight now, test_venv fails without distutils, because pip fails on importing the distutils module in ``pip/_internal/locations/_distutils.py``: https://github.com/pypa/pip/blob/cb24fb4052ca8ab8009866b0de61980c81a7e13c/src/pip/_internal/locations/_distutils.py#L9-L12\r\n\r\nI created the PR #92585 which renames distutils to _distutils.\n\n\u003c!-- gh-pr-number: gh-99061 --\u003e\n* PR: gh-99061\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99062 --\u003e\n* PR: gh-99062\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-104744 --\u003e\n* PR: gh-104744\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108018 --\u003e\n* PR: gh-108018\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108020 --\u003e\n* PR: gh-108020\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108024 --\u003e\n* PR: gh-108024\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108026 --\u003e\n* PR: gh-108026\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108030 --\u003e\n* PR: gh-108030\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108031 --\u003e\n* PR: gh-108031\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108039 --\u003e\n* PR: gh-108039\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108040 --\u003e\n* PR: gh-108040\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108043 --\u003e\n* PR: gh-108043\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108044 --\u003e\n* PR: gh-108044\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108047 --\u003e\n* PR: gh-108047\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108057 --\u003e\n* PR: gh-108057\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108058 --\u003e\n* PR: gh-108058\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108059 --\u003e\n* PR: gh-108059\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108060 --\u003e\n* PR: gh-108060\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108061 --\u003e\n* PR: gh-108061\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108062 --\u003e\n* PR: gh-108062\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108063 --\u003e\n* PR: gh-108063\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-108333 --\u003e\n* PR: gh-108333\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-110213 --\u003e\n* PR: gh-110213\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-110214 --\u003e\n* PR: gh-110214\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2022-05-09T22:42:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":44},"url":"https://github.com/92584/cpython/issues/92584"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e6643f76-eec8-6f4d-9a89-53561a902eb2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F3E:3856C7:A9AEA2:EF05FD:696A5633
html-safe-nonce159f091283613b5964e9d2b8406df8c952dbe336050cd09627fd9d52980d65c3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjNFOjM4NTZDNzpBOUFFQTI6RUYwNUZEOjY5NkE1NjMzIiwidmlzaXRvcl9pZCI6IjU1NTY0NDc4NzYwNTgwNzY3MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1a78566472091e11575cd04e21592b9a0e7e3d74a9ef8ce29cea966a69adea80
hovercard-subject-tagissue:1230326042
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/92584/issue_layout
twitter:imagehttps://opengraph.githubassets.com/adeb656e233288e87861b5e38d4b2180c45ff8b3aea4201dbb5e45f92d0fd3af/python/cpython/issues/92584
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/adeb656e233288e87861b5e38d4b2180c45ff8b3aea4201dbb5e45f92d0fd3af/python/cpython/issues/92584
og:image:altThe distutils module was deprecated in Python 3.10 and is scheduled for removal in Python 3.12. Right now, Python still uses distutils for different purpose: Build C extensions which can not be bui...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/92584#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F92584
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F92584
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/92584
Reloadhttps://github.com/python/cpython/issues/92584
Reloadhttps://github.com/python/cpython/issues/92584
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/92584
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/92584
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/92584
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/92584
PEP 632: Remove the distutils package (Python 3.12)https://github.com/python/cpython/issues/92584#top
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/vstinner
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on May 9, 2022https://github.com/python/cpython/issues/92584#issue-1230326042
https://github.com/pypa/pip/blob/cb24fb4052ca8ab8009866b0de61980c81a7e13c/src/pip/_internal/locations/_distutils.py#L9-L12https://github.com/pypa/pip/blob/cb24fb4052ca8ab8009866b0de61980c81a7e13c/src/pip/_internal/locations/_distutils.py#L9-L12
#92585https://github.com/python/cpython/pull/92585
gh-92584: Remove the distutils package #99061https://github.com/python/cpython/pull/99061
gh-92584: Remove references to removed _bootsubprocess #99062https://github.com/python/cpython/pull/99062
gh-100238: Vendor distutils for peg_generator #104744https://github.com/python/cpython/pull/104744
GH-92584: Move installation schemes overview to sysconfig docs #108018https://github.com/python/cpython/pull/108018
GH-92584: Remove Installing Python Modules (Distutils version) #108020https://github.com/python/cpython/pull/108020
GH-92584: Remove distutils from the newtypes tutorial includes #108024https://github.com/python/cpython/pull/108024
GH-92584: Remove distutils mentions from importlib.metadata docs #108026https://github.com/python/cpython/pull/108026
GH-92584: Redirect to Setuptools' guidance on extension modules #108030https://github.com/python/cpython/pull/108030
GH-92584: Drop reference to Distutils in site.USER_BASE #108031https://github.com/python/cpython/pull/108031
[3.12] GH-92584: Drop reference to Distutils in site.USER_BASE (GH-108031) #108039https://github.com/python/cpython/pull/108039
GH-92584: Remove references to Distutils in PYTHONUSERBASE #108040https://github.com/python/cpython/pull/108040
GH-92584: Remove references to Distutils in configure.rst #108043https://github.com/python/cpython/pull/108043
GH-92584: Redirect macOS package installation to the PPUG #108044https://github.com/python/cpython/pull/108044
GH-92584: Remove reference to Distutils in cx_Freeze's description #108047https://github.com/python/cpython/pull/108047
[3.12] GH-92584: Remove reference to Distutils in cx_Freeze's description (GH-108047) #108057https://github.com/python/cpython/pull/108057
[3.12] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) #108058https://github.com/python/cpython/pull/108058
[3.11] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) #108059https://github.com/python/cpython/pull/108059
[3.12] GH-92584: Remove references to Distutils in PYTHONUSERBASE (GH-108040) #108060https://github.com/python/cpython/pull/108060
[3.11] GH-92584: Remove reference to Distutils in cx_Freeze's description (GH-108047) #108061https://github.com/python/cpython/pull/108061
[3.12] GH-92584: Remove Installing Python Modules (Distutils version) (GH-108020) #108062https://github.com/python/cpython/pull/108062
[3.12] GH-92584: Remove references to Distutils in configure.rst (GH-108043) #108063https://github.com/python/cpython/pull/108063
[3.12] GH-92584: Remove distutils from the newtypes tutorial includes (GH-108024) #108333https://github.com/python/cpython/pull/108333
[3.12] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018) #110213https://github.com/python/cpython/pull/110213
[3.11] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018) #110214https://github.com/python/cpython/pull/110214
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.