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
Labels
component: tutorials diataxis: tutorial Learning oriented lesson (https://diataxis.fr/tutorials/) good first issue help wanted type: bug A confirmed bug or unintended behavior type: task Something that needs to be done that is not a bug or feature

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

@webknjaz webknjaz added type: bug A confirmed bug or unintended behavior component: tutorials good first issue help wanted type: task Something that needs to be done that is not a bug or feature diataxis: tutorial Learning oriented lesson (https://diataxis.fr/tutorials/) labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tutorials diataxis: tutorial Learning oriented lesson (https://diataxis.fr/tutorials/) good first issue help wanted type: bug A confirmed bug or unintended behavior type: task Something that needs to be done that is not a bug or feature
Projects
None yet
Development

No branches or pull requests

2 participants