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

Wheels do not specify Requires-Python metadata #54

Open
minrk opened this issue Nov 14, 2019 · 2 comments
Open

Wheels do not specify Requires-Python metadata #54

minrk opened this issue Nov 14, 2019 · 2 comments
Labels
Discussion Needs decision/dicussion enhancement New feature or request

Comments

@minrk
Copy link

minrk commented Nov 14, 2019

PEP 345 defines Requires-Python for specifying the Python version, but it's not specified here.

That's not going to come up often for projects where conda-press is likely to be used, since the ABI tag is almost always more specific than the Python version. But in cases where there's an unbound pin (e.g. cp3 or py3), Requires-Python may be needed to enforce necessary lower limits.

@marcelotrevisani marcelotrevisani added Discussion Needs decision/dicussion enhancement New feature or request labels Nov 14, 2019
@marcelotrevisani
Copy link
Member

Hi @minrk ,
Indeed we should think about it, that might be a problem.

cc: @scopatz

@scopatz
Copy link
Contributor

scopatz commented Nov 14, 2019

Thanks for bringing this up @minrk!

I think the could be easily shoved in the metadata. For noarch packages with no python version constraint, we can always shove in py>=2.7. A PR here would be awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Needs decision/dicussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants