mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039)
Remove the bundled setuptools wheel from ensurepip, and stop installing setuptools in environments created by venv. Co-Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
This commit is contained in:
parent
f39e00f952
commit
ece20dba12
13 changed files with 57 additions and 48 deletions
|
@ -61,12 +61,16 @@ The command, if run with ``-h``, will show the available options::
|
|||
environment (pip is bootstrapped by default)
|
||||
--prompt PROMPT Provides an alternative prompt prefix for this
|
||||
environment.
|
||||
--upgrade-deps Upgrade core dependencies: pip setuptools to the
|
||||
--upgrade-deps Upgrade core dependencies (pip) to the
|
||||
latest version in PyPI
|
||||
|
||||
Once an environment has been created, you may wish to activate it, e.g. by
|
||||
sourcing an activate script in its bin directory.
|
||||
|
||||
.. versionchanged:: 3.12
|
||||
|
||||
``setuptools`` is no longer a core venv dependency.
|
||||
|
||||
.. versionchanged:: 3.9
|
||||
Add ``--upgrade-deps`` option to upgrade pip + setuptools to the latest on PyPI
|
||||
|
||||
|
@ -104,4 +108,3 @@ invoked to bootstrap ``pip`` into the virtual environment.
|
|||
Multiple paths can be given to ``venv``, in which case an identical virtual
|
||||
environment will be created, according to the given options, at each provided
|
||||
path.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue