-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Description
Crash report
What happened?
Issue Report: pip does not automatically update to latest version in Python 3.13.2
Description
When installing Python 3.13.2 from python.org and using pip to install new libraries, pip does not automatically update to the latest version (25.0.1). Instead, it notifies the user that a new version is available, but does not update itself.
Steps to Reproduce
- Download and install Python 3.13.2 from python.org.
- Open a command prompt or terminal.
- Run
pip install <library_name>to install a new library. - Observe that pip does not automatically update to the latest version.
Expected Behavior
pip should automatically update to the latest version when installing new libraries or running pip install commands.
Actual Behavior
pip notifies the user that a new version is available, but does not update itself. The user must manually update pip using:
python.exe -m pip install --upgrade pip
Environment
- Python version: 3.13.2
- pip version:
<insert initial pip version> - Operating System:
[insert OS name and version]
Possible Solution
Consider enabling automatic updates for pip in future versions of Python, or providing a more prominent notification to users to update pip manually.
Example Use Case
To reproduce the issue, simply install Python 3.13.2 and run:
pip install requests
pip will notify you that a new version is available, but will not update itself.
CPython versions tested on:
3.13, 3.14, 3.12
Operating systems tested on:
Windows
Output from running 'python -VV' on the command line:
No response
Activity
picnixz commentedon Mar 1, 2025
pipis externally managed so I don't think we need to update to the latestpip. We have a bundledpipfor minimal usage I think, but otherwise I don't know ifpipis meant to actually update itself to the latest version automatically.Note that "pip notifies the user that a new version is available, but does not update itself" is the expected behaviour. IIRC, it also says "please update with [...]" so it lets the user decide whether it should update or not.
cc @erlend-aasland
StanFromIreland commentedon Mar 1, 2025
It's bundled manually and it was updated a few days ago to 25.0.1
#129583
picnixz commentedon Mar 1, 2025
I'll close this one as
not plannedthen. We have evidence that we manually update the bundledpip.