Skip to content

Update bundled pip to 25.0.1 #129583

Closed
Closed
@fedorkobak

Description

@fedorkobak

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:

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-dotenv
Successfully 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 pip

This results in an unnecessary warning about an outdated pip version.

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions