-
Notifications
You must be signed in to change notification settings - Fork 996
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
Provide a table summary view of available wheels per package release #14549
Comments
It was also mentioned on Discourse by another user that allowing a user to filter the table by OS/Python version, etc may help a user answer the question if there platform is supported more quickly. |
I like this idea in general (I also find the long list of built distributions hard to parse) but I think this might be challenging because in practice, we'd need to represent this matrix across 3 axes: python version, ABI, and platform/CPU architecture, which doesn't translate well into the 2D table. It might make more sense to make the list filterable, as discussed in that last thread, so a user could select the subset they are interested in. |
What about this? https://ofek.dev/coincurve/install/#wheel |
That still doesn't take the ABI into account, since in that case it's the same as the Python version, but you could be publishing both |
Triaging: some incremental improvements related to this were performed with #15606. |
What's the problem this feature will solve?
For non pure python, non abi3-wheel packages, it's often challenging to be able to determine if a wheel is available for a given platform and (C)Python version.
Currently, a user has to wade through a long list of wheel file names and decipher their meaning. For example, try to quickly determine which Python versions and platforms are supported by
pydantic-core
2.7.0:Some projects have specific wheels for some CPython versions, but not others. For example,
lxml
4.9.3 has macOS universal wheels (i.e., supports ARM) for CPython 3.11 and 3.12 only, but has x86-only wheels for 3.6-3.10.Tracking down why pip or a workflow tool like Poetry can't resolve a wheel for a specific configuration can be challenging, especially for beginners who aren't familiar with the wheel filename format.
Another problem that this helps solve is to remove one of the uses of the
Programming Language :: Python :: 3.x
trove classifiers, which some in the community do like using (e.g., it requires a package to do a release just to update the trove classifier when otherwise it might not be needed). This table would make it easy for users of non pure Python, non abi3-wheel packages to quickly see which Python versions have wheels published for, rather than needing to look at the trove classifiers.Describe the solution you'd like
Display a simple table that summarizes the available wheels for PyPI project releases on their PyPI page. If a project is pure Python and only has a pure Python wheel, this table could be omitted or otherwise simplified to a statement such as "Pure Python" or "All Platforms".
A quick and dirty draft of the idea:
Additional context
This was originally discussed at:
@hugovk had some additional ideas, including inverting the rows/columns to make the information flow "down" more than "wide"
The text was updated successfully, but these errors were encountered: