Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-92584: Remove the distutils package #99061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions 2 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ gmon.out
.DS_Store

*.exe
!Lib/distutils/command/*.exe

# Ignore core dumps... but not Tools/msi/core/ or the like.
core
Expand All @@ -58,7 +57,6 @@ Doc/.venv/
Doc/env/
Doc/.env/
Include/pydtrace_probes.h
Lib/distutils/command/*.pdb
Lib/lib2to3/*.pickle
Lib/site-packages/*
!Lib/site-packages/README.txt
Expand Down
1 change: 0 additions & 1 deletion 1 Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@
coverage_ignore_modules = [
r'[T|t][k|K]',
r'Tix',
r'distutils.*',
]

coverage_ignore_functions = [
Expand Down
8 changes: 8 additions & 0 deletions 8 Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Important deprecations, removals or restrictions:

* :pep:`623`, Remove wstr from Unicode

* :pep:`632`, Remove the ``distutils`` package.

Improved Error Messages
=======================

Expand Down Expand Up @@ -401,6 +403,12 @@ although there is currently no date scheduled for their removal.
Removed
=======

* Remove the ``distutils`` package. It was deprecated in Python 3.10 by
:pep:`632` "Deprecate distutils module". For projects still using
``distutils`` and cannot be updated to something else, the ``setuptools``
project can be installed: it still provides ``distutils``.
(Contributed by Victor Stinner in :gh:`92584`.)

* Removed many old deprecated :mod:`unittest` features:

- A number of :class:`~unittest.TestCase` method aliases:
Expand Down
11 changes: 0 additions & 11 deletions 11 Lib/distutils/README

This file was deleted.

20 changes: 0 additions & 20 deletions 20 Lib/distutils/__init__.py

This file was deleted.

Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.