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

cp310-none-any not in compatible tags #615

Closed
rth opened this issue Nov 14, 2022 · 2 comments
Closed

cp310-none-any not in compatible tags #615

rth opened this issue Nov 14, 2022 · 2 comments

Comments

@rth
Copy link

rth commented Nov 14, 2022

We are considering distributing bytecode-compiled wheels in pyodide/pyodide#3050 (without the source .py) to optimize load time in the browser. Following this discussion given a pure python wheel say,

packaging-21.3-py3-none-any.whl 

once it is py-compiled to CPython 3.10 its filename should be,

packaging-21.3-cp310-none-any.whl 

however that is currently not a compatible tag as returned by packaging.tags.compatible_tags:

>>> tags = [str(el) for el in packaging.tags.compatible_tags(python_version=(3, 10))]
>>> "py310-none-any" in tags
True
>>> "cp310-none-any" in tags
False

and the same goes for packaging.tags.cpython_tags.

@pradyunsg
Copy link
Member

This is fixed in #541, which needs to be released still.

@rth
Copy link
Author

rth commented Nov 14, 2022

Great, thanks! Sorry for the duplicate, it's a bit difficult to know what to search for in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants