Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mgedmin opened this issue Nov 4, 2024 · 0 comments

Comments

@mgedmin
Copy link
Contributor

mgedmin commented Nov 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant