Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Identify supported versions from wheel format #73

Open
chhantyal opened this issue Jan 28, 2015 · 2 comments
Open

Identify supported versions from wheel format #73

chhantyal opened this issue Jan 28, 2015 · 2 comments

Comments

@chhantyal
Copy link
Contributor

Just wondering if it's possible to detect supported version from wheel format.

For example, this https://pypi.python.org/pypi/reportlab doesn't show version in classifier but uploaded wheel shows what versions of Python are supported.

@brettcannon
Copy link
Owner

It's not only possible but I once had code to do it when http://py3ksupport.appspot.com/ was running. But I also found it wasn't worth the hassle and extra overhead. I have gone ahead and updated the overrides file for reportlab and filed a ticket on Warehouse -- next version of PyPI -- to automatically set the trove classifier when the wheel file specifies it.

I'll leave this open if someone really wants to code up the support and can show it won't lead to a doubling of network requests (if I remember correctly it will, though, simply to get the file listing).

@vaibhavsagar
Copy link
Contributor

A potential downside to this approach is that projects with an inaccurate setup.cfg such as pyrax would incorrectly be seen as supporting Python 3. I think having Warehouse handle it is an excellent idea.

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

No branches or pull requests

3 participants