diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-03 18:27:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 18:27:27 (GMT) |
commit | 0faa0ba240e815614e5a2900e48007acac41b214 (patch) | |
tree | 20b8346df4331716aba051d6e05e039318176ba3 /Misc | |
parent | b07f546ea3a574bc3016fb023c157c65a47f4849 (diff) | |
download | cpython-0faa0ba240e815614e5a2900e48007acac41b214.zip cpython-0faa0ba240e815614e5a2900e48007acac41b214.tar.gz cpython-0faa0ba240e815614e5a2900e48007acac41b214.tar.bz2 |
gh-92584: Remove the distutils package (#99061)
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.
* Remove Lib/distutils/ directory
* Remove test_distutils
* Remove references to distutils
* Skip test_check_c_globals and test_peg_generator since they use
distutils
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-11-03-15-28-07.gh-issue-92584.m5ctkm.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-11-03-15-28-07.gh-issue-92584.m5ctkm.rst b/Misc/NEWS.d/next/Library/2022-11-03-15-28-07.gh-issue-92584.m5ctkm.rst new file mode 100644 index 0000000..b327964 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-11-03-15-28-07.gh-issue-92584.m5ctkm.rst @@ -0,0 +1,5 @@ +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``. Patch by Victor +Stinner. |