Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packaging version to install Python 3.10 wheels. #9272

Closed
domdfcoding opened this issue Dec 14, 2020 · 2 comments · Fixed by #9278
Closed

Update packaging version to install Python 3.10 wheels. #9272

domdfcoding opened this issue Dec 14, 2020 · 2 comments · Fixed by #9278
Labels
project: vendored dependency Related to a vendored dependency
Milestone

Comments

@domdfcoding
Copy link
Contributor

What's the problem this feature will solve?
Currently it is not possible to install wheels for Python 3.10 because the current version of packaging vendored with pip thinks the tag should be 3_10 when it should actually be 310. The relevant entry from pip debug is cp3_10-cp3_10-linux_x86_64.

An example of a wheel I'm trying to install is numpy-1.19.2-cp310-cp310-linux_x86_64.whl, which was built with wheel 0.36.2

Describe the solution you'd like
A fix (pypa/packaging#355) has been merged into packaging, and a new release (20.8) has been made with that fix. Would it be possible to have a new release of pip with the latest version of packaging vendored?

Alternative Solutions
I have manually applied to changes from pypa/packaging#355 to a local copy of pip, and have been able to successfully install the wheel. The relevant entry from pip debug is then cp310-cp310-linux_x86_64.

Additional context

@uranusjr
Copy link
Member

I feel we should include this asap, not until 21.0.

@uranusjr uranusjr added the project: vendored dependency Related to a vendored dependency label Dec 14, 2020
@pradyunsg
Copy link
Member

pradyunsg commented Dec 14, 2020

I'll do the update after lunch -- if someone wants to file a PR updating packaging in pip before that, please do and let me know you're doing that! :)

@pradyunsg pradyunsg added this to the 20.3.2 milestone Dec 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
project: vendored dependency Related to a vendored dependency
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants