]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] GH-109190: Copyedit 3.12 What's New: Increase the prominence of the setuptools...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 25 Sep 2023 10:16:00 +0000 (03:16 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Sep 2023 10:16:00 +0000 (12:16 +0200)
GH-109190: Copyedit 3.12 What's New: Increase the prominence of the setuptools removal (GH-109768)
(cherry picked from commit 09a73d50f687b9b388b0386f400d9ba5a7c5f2a5)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/whatsnew/3.12.rst

index efb1b13c65c167034164256a0bed11611fcb06c8..c2e7068ce0962cb02f56019e53374fe1792175d1 100644 (file)
@@ -93,6 +93,13 @@ Important deprecations, removals or restrictions:
   `the migration guide <https://peps.python.org/pep-0632/#migration-advice>`_
   for advice on its replacement.
 
+* :gh:`95299`: Do not pre-install ``setuptools`` in virtual environments
+  created with :mod:`venv`.
+  This means that ``distutils``, ``setuptools``, ``pkg_resources``,
+  and ``easy_install`` will no longer available by default; to access these
+  run ``pip install setuptools`` in the :ref:`activated <venv-explanation>`
+  virtual environment.
+
 Improved Error Messages
 =======================