From 433b373877a6b61a099684ca8becfe78365cad53 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 23 Sep 2023 01:25:53 +0100 Subject: [PATCH 1/2] Highlight the removal of setuptools as an important removal --- Doc/whatsnew/3.12.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 4ee87974a98d16..6f6fb6465d426d 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -93,6 +93,13 @@ Important deprecations, removals or restrictions: `the migration guide `_ 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 ` + virtual environment. + Improved Error Messages ======================= From 7187a22a16e89a67a9ab014ff113b149aedf5abd Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 23 Sep 2023 01:27:49 +0100 Subject: [PATCH 2/2] whitespace --- Doc/whatsnew/3.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 6f6fb6465d426d..83d5be633e4a56 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -96,7 +96,7 @@ Important deprecations, removals or restrictions: * :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 + and ``easy_install`` will no longer available by default; to access these run ``pip install setuptools`` in the :ref:`activated ` virtual environment.