Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Feature
Description:
A new version of pip was recently released, butensurepip stilluses 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 venvsource venv/bin/activatepip install python-dotenvProduces the following output:
Collecting python-dotenv Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)Installing collected packages: python-dotenvSuccessfully installed python-dotenv-1.0.1[notice] A new release of pip is available: 24.3.1 -> 25.0[notice] To update, run: pip install --upgrade pipThis results in an unnecessary warning about an outdated pip version.
CPython versions tested on:
3.12
Operating systems tested on:
Linux