This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ensurepip should use different pattern for pip/setuptool wheel files
Type: enhancement Stage: resolved
Components: Versions: Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Update bundled pip to 20.1.1
View: 38488
Assigned To: Nosy List: anthon, ned.deily
Priority: normal Keywords:

Created on 2020-03-30 19:09 by anthon, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg365344 - (view) Author: Anthon van der Neut (anthon) * Date: 2020-03-30 19:09
Setuptools, starting with minor version 45.1.0 no longer is a -py2.py3-none-any.whl file, but a -py3-none-any.whl file. In ensurepip's __init__.py the former is hard-coded, so the setuptools shipping with python (for 3.9.0a5 this is 41.2.0) cannot be upgraded beyond 45.0.0 

I can provide a PR that fixes this, (either by using glob.glob() to find the exact .whl available. or by extending the tuple in _PROJECTS.)
msg371589 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-06-15 19:30
Thanks for the report. This issue has been resolved in 5f79f46612c351bde78a41c5264c42db21008868 (and backports) for Issue38488 which upgraded ensurepip to newer versions of pip and setuptools.
History
Date User Action Args
2022-04-11 14:59:28adminsetgithub: 84300
2020-06-15 19:30:18ned.deilysetstatus: open -> closed

superseder: Update bundled pip to 20.1.1

nosy: + ned.deily
messages: + msg371589
resolution: duplicate
stage: resolved
2020-03-30 19:10:18anthonsettitle: ensurepip should use ifferent pattern for pip/setuptool wheel files -> ensurepip should use different pattern for pip/setuptool wheel files
2020-03-30 19:09:41anthoncreate