From b32f39fbf6d561368134318f967058305a3ff1df Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Sat, 2 Oct 2021 15:01:23 +0100 Subject: [PATCH 1/4] only remove setuptools once pip drops support for legacy installs --- pep-0453.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0453.txt b/pep-0453.txt index c72ef958a9e..339fafefbef 100644 --- a/pep-0453.txt +++ b/pep-0453.txt @@ -646,8 +646,8 @@ detail. Other projects which explicitly require ``setuptools`` must still provide an appropriate dependency declaration, rather than assuming ``setuptools`` will always be installed alongside ``pip``. -Once pip is able to run ``pip install --upgrade pip`` without needing -``setuptools`` installed first, then the private copy of ``setuptools`` +Once pip is able to run ``pip install --no-use-pep517`` and return +``no such option: --no-use-pep517``, then the private copy of ``setuptools`` will be removed from ``ensurepip`` in subsequent CPython releases. As long as setuptools is needed, it will be a completely unmodified copy of From 4f30a79c449c6fafc7deec1088e8686967c4d46c Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Mon, 4 Oct 2021 10:08:49 +0100 Subject: [PATCH 2/4] Update pep-0453.txt --- pep-0453.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pep-0453.txt b/pep-0453.txt index 339fafefbef..c54cc0d4ee3 100644 --- a/pep-0453.txt +++ b/pep-0453.txt @@ -646,9 +646,8 @@ detail. Other projects which explicitly require ``setuptools`` must still provide an appropriate dependency declaration, rather than assuming ``setuptools`` will always be installed alongside ``pip``. -Once pip is able to run ``pip install --no-use-pep517`` and return -``no such option: --no-use-pep517``, then the private copy of ``setuptools`` -will be removed from ``ensurepip`` in subsequent CPython releases. +Once get-pip.py stops installing setuptools by default, then the private copy of +``setuptools`` will be removed from ``ensurepip`` in subsequent CPython releases. As long as setuptools is needed, it will be a completely unmodified copy of the latest upstream setuptools release, including the ``easy_install`` From ae2862bedeee3fad690754c8dd434f9468d9eb0e Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 29 Jun 2022 21:40:37 +0100 Subject: [PATCH 3/4] Update pep-0453.txt --- pep-0453.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pep-0453.txt b/pep-0453.txt index c54cc0d4ee3..dc1f6416c2f 100644 --- a/pep-0453.txt +++ b/pep-0453.txt @@ -646,9 +646,7 @@ detail. Other projects which explicitly require ``setuptools`` must still provide an appropriate dependency declaration, rather than assuming ``setuptools`` will always be installed alongside ``pip``. -Once get-pip.py stops installing setuptools by default, then the private copy of -``setuptools`` will be removed from ``ensurepip`` in subsequent CPython releases. - +The private copy of setuptools will be removed from ensurepip once it is no longer needed. This is likely to be at the point when get-pip.py stops installing setuptools by default. As long as setuptools is needed, it will be a completely unmodified copy of the latest upstream setuptools release, including the ``easy_install`` script if the upstream setuptools continues to include it. The installation From 5be7a2e77e4900787d689344f812b40a0b45a6ae Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 29 Jun 2022 23:26:17 +0100 Subject: [PATCH 4/4] Update pep-0453.txt Co-authored-by: CAM Gerlach --- pep-0453.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pep-0453.txt b/pep-0453.txt index dc1f6416c2f..ac6b4b0eff7 100644 --- a/pep-0453.txt +++ b/pep-0453.txt @@ -646,7 +646,9 @@ detail. Other projects which explicitly require ``setuptools`` must still provide an appropriate dependency declaration, rather than assuming ``setuptools`` will always be installed alongside ``pip``. -The private copy of setuptools will be removed from ensurepip once it is no longer needed. This is likely to be at the point when get-pip.py stops installing setuptools by default. +The private copy of ``setuptools`` will be removed from ``ensurepip`` +once it is no longer needed. This is likely to be at the point when +``get-pip.py`` stops installing ``setuptools`` by default. As long as setuptools is needed, it will be a completely unmodified copy of the latest upstream setuptools release, including the ``easy_install`` script if the upstream setuptools continues to include it. The installation