You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new version of pip was recently released, but ensurepip still uses an older version. As a result, when creating a new virtual environment, ensurepip installs an outdated version of pip, leading to a warning whenever pip is used.
This results in an unnecessary warning about an outdated pip version.
Tip: you can run python3 -m venv --upgrade-deps to upgrade pip during venv creation, or pip install python-dotenv --disable-pip-version-check (or export PIP_DISABLE_PIP_VERSION_CHECK=1) to disable the warning.
Feature
Description:
A new version of pip was recently released, but
ensurepip
still uses an older version. As a result, when creating a new virtual environment,ensurepip
installs an outdated version of pip, leading to a warning whenever pip is used.For example:
python3 -m venv venv source venv/bin/activate pip install python-dotenv
Produces the following output:
This results in an unnecessary warning about an outdated pip version.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: