Skip to content

Update bundled pip to 25.0.1 #129583

Closed
Closed

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

Activity

  1. changed the title [-]Ensurepip uses outdated pip version[/-] [+]Update bundled pip to 25.0[/+] on Feb 2, 2025
  2. added
    type-featureA feature request or enhancement
    and removed
    type-bugAn unexpected behavior, bug, or error
    on Feb 2, 2025
  3. hugovk commented on Feb 2, 2025

    @hugovk
    Member

    An update is planned, see pypa/pip#13103.

    cc @sbidoul, we can use this issue number for the updates if you like.

  4. hugovk commented on Feb 2, 2025

    @hugovk
    Member

    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.

  5. added a commit that references this issue on Feb 10, 2025
  6. added a commit that references this issue on Feb 10, 2025
  7. added a commit that references this issue on Feb 10, 2025
  8. changed the title [-]Update bundled pip to 25.0[/-] [+]Update bundled pip to 25.0.1[/+] on Feb 10, 2025
  9. added a commit that references this issue on Feb 10, 2025
  10. added a commit that references this issue on Mar 3, 2025
  11. hugovk commented on Mar 22, 2025

    @hugovk
    Member

    pip 25.0.1 will be in the next Python releases:

    • Python 3.12.10: 2025-04-08
    • Python 3.13.3: 2025-04-08
    • Python 3.14.0a5: 2025-02-11 (already released)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-ensurepiptype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions