packaging.python.org
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
https://github.com/pypa/packaging.python.org/blob/main/source/tutorials/installing-packages.rst says
:ref:
virtualenvneeds to be installed separately, but supports Python 2.7+ and Python 3.3+, and :ref:pip, :ref:setuptoolsand :ref:wheelare 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.)