Skip to content

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

Open
@mgedmin

Description

@mgedmin

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions