packaging.python.org icon indicating copy to clipboard operation
packaging.python.org copied to clipboard

"pip, setuptools and wheel are always installed into created virtual environments by default (regardless of Python version)" is no longer true

Open mgedmin opened this issue 1 year ago • 0 comments

https://github.com/pypa/packaging.python.org/blob/main/source/tutorials/installing-packages.rst says

:ref:virtualenv needs to be installed separately, but supports Python 2.7+ and Python 3.3+, and :ref:pip, :ref:setuptools and :ref:wheel are always installed into created virtual environments by default (regardless of Python version).

which is no longer accurate. Since Python 3.12, setuptools is no longer preinstalled into virtual environments (and virtualenv follows that).

(Also, if you use uv venv or any uv-enabled tool like tox with the tox-uv plugin to create virtual environments, those won't have pip preinstalled either.)

mgedmin avatar Nov 04 '24 09:11 mgedmin