X Tutup
The Wayback Machine - https://web.archive.org/web/20221223144854/https://github.com/python/cpython/pull/99061/files
Skip to content
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

gh-92584: Remove the distutils package #99061

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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
@@ -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
@@ -197,7 +197,6 @@
coverage_ignore_modules = [
r'[T|t][k|K]',
r'Tix',
r'distutils.*',
]

coverage_ignore_functions = [
@@ -70,6 +70,8 @@ Important deprecations, removals or restrictions:

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

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

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

@@ -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:

This file was deleted.

This file was deleted.

X Tutup