Skip to content

outdated upgrade recommendation syntax #13429

@mcandre

Description

@mcandre

Description

Hi,

Pip still often recommends old style syntax for upgrading pip.

[notice] A new release of pip is available: 25.0.1 -> 25.1.1
[notice] To update, run: pip3 install --upgrade pip

We should probably target python3 -m pip install --upgrade pip instead, as this module based syntax works more reliably across a multitude of different kinds of Python installations.

Expected behavior

No response

pip version

25.0.1

Python version

3.12.1

OS

Ubuntu 24.04

How to Reproduce

$ python -m pip install -r requirements.txt

Output

No response

Code of Conduct

  • I agree to follow the PSF Code of Conduct.

Activity

added
type: bugA confirmed bug or unintended behavior
S: needs triageIssues/PRs that need to be triaged
on Jun 18, 2025
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

    S: needs triageIssues/PRs that need to be triagedtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mcandre

        Issue actions

          outdated upgrade recommendation syntax · Issue #13429 · pypa/pip