pip icon indicating copy to clipboard operation
pip copied to clipboard

outdated upgrade recommendation syntax

Open mcandre opened this issue 7 months ago • 0 comments

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

mcandre avatar Jun 18 '25 01:06 mcandre