Skip to content

Docs: Remove workaround for distutils in CPython docs#5279

Open
Joosboy wants to merge 3 commits into
pypa:mainfrom
Joosboy:docs/4081-remove-distutils-workaround
Open

Docs: Remove workaround for distutils in CPython docs#5279
Joosboy wants to merge 3 commits into
pypa:mainfrom
Joosboy:docs/4081-remove-distutils-workaround

Conversation

@Joosboy

@Joosboy Joosboy commented Jul 19, 2026

Copy link
Copy Markdown

Closes #4081.

Since Setuptools now hosts the deprecated distutils documentation, the intersphinx references correctly resolve internally without pointing to CPython. We no longer need the workaround that pinned Python to 3.11 in intersphinx_mapping.

Also changes an external reference to imp.get_tag (which is also removed in Python 3.12) to standard literal text in docs/deprecated/distutils/apiref.rst to prevent a build warning.

@mergify

mergify Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Remove references to distutils in CPython

1 participant