pip
pip copied to clipboard
outdated upgrade recommendation syntax
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
- [x] I agree to follow the PSF Code of Conduct.