Provide get-pip.py versions for all python versions
See original GitHub issueEach time pip drops the support for some version of python, users need to update their script from https://bootstrap.pypa.io/get-pip.py
to https://bootstrap.pypa.io/X.Y/get-pip.py
.
I’m wondering if we shouldn’t directly provide https://bootstrap.pypa.io/X.Y/get-pip.py
for all existing (and recent) python versions.
That would currently mean to provide https://bootstrap.pypa.io/3.6/get-pip.py
, https://bootstrap.pypa.io/3.7/get-pip.py
, https://bootstrap.pypa.io/3.8/get-pip.py
, https://bootstrap.pypa.io/3.9/get-pip.py
& https://bootstrap.pypa.io/3.10/get-pip.py
that would be copies of https://bootstrap.pypa.io/get-pip.py
.
Users would then be able to directly use the get-pip.py
script version matching their python version.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Bootstrapping a specific version of pip - Packaging
When looking at get-pip.py , I don't see a version-specific URL, so I assume the checksum of this download changes after every new...
Read more >Dealing with multiple Python versions and PIP? - Stack Overflow
To get a list of all installed Python versions available through the ... curl -O https://bootstrap.pypa.io/get-pip.py python27 get-pip.py.
Read more >Installation - pip documentation v22.3.1
Download the script, from https://bootstrap.pypa.io/get-pip.py. ... The zip application can be run using any supported version of Python:.
Read more >How to Install Pip on Windows - ActiveState
But if you're using an older version of Python, pip will need to ... To manually install pip on Windows, you will need...
Read more >Pip - PyPI
The PyPA recommended tool for installing Python packages. ... We release updates regularly, with a new version every 3 months.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it’s a good idea to provide scripts for all versions, even if they are just duplicates to the main
get-pip.py
. Provision projects currently need to always refer to the versionlessget-pip.py
, which creates problems when the user provision with an old version of the tool after a Python version is dropped by pip, and the tool has no way to address this in a forward-compatible way.If we provide scripts to all Python versions, tools can instead have something like
that’s guaranteed to work no matter in the future.
PRs to do this would be welcome!