PEP 453: only remove setuptools once pip drops support for legacy installs (#2096)

This commit is contained in:
Thomas Grainger 2022-07-02 07:19:33 +01:00 committed by GitHub
parent 7c34ee44b7
commit 764ec27290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -647,10 +647,9 @@ detail. Other projects which explicitly require ``setuptools`` must still
provide an appropriate dependency declaration, rather than assuming provide an appropriate dependency declaration, rather than assuming
``setuptools`` will always be installed alongside ``pip``. ``setuptools`` will always be installed alongside ``pip``.
Once pip is able to run ``pip install --upgrade pip`` without needing The private copy of ``setuptools`` will be removed from ``ensurepip``
``setuptools`` installed first, then the private copy of ``setuptools`` once it is no longer needed. This is likely to be at the point when
will be removed from ``ensurepip`` in subsequent CPython releases. ``get-pip.py`` stops installing ``setuptools`` by default.
As long as setuptools is needed, it will be a completely unmodified copy of As long as setuptools is needed, it will be a completely unmodified copy of
the latest upstream setuptools release, including the ``easy_install`` the latest upstream setuptools release, including the ``easy_install``
script if the upstream setuptools continues to include it. The installation script if the upstream setuptools continues to include it. The installation