-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix Python metadata for Linux Python 3.6 wheel #264
Comments
Ok, so the dependencies are resolved downloading the wheel and opening, but the Python requirement may be directly exposed. And in the case of PyPI it is, taken from a random source. Since no wheel is better than any other, I could only think of two options:
But what if the sdist is missing? That makes me think that 1. is more likely than 2. ... |
What I don't understand is that the 'simple' list should be in 1 to 1 correspondence of the metadata in the wheels. But then again https://pypi.org/project/pineappl/ also shows 'Requires: Python >=3.7' in the Meta column. |
Used in two places: Actually, they are both getting the context from the same utils module, and only Now the problem is moved to find out how PyPI constructs that DB... |
However, the problem is already in the DB structure: there is only one field EDIT: each file may know its own Then it could be a problem in the |
It looks like this describes our problem: pypi/warehouse#8090. |
|
They are not even reading all the files, it was really the first one uploaded, even for the individual files metadata... |
OK, then let's try to globally change to |
It worked!
|
I'm closing this; commit 3c83f82 adds a comment documenting this quirk. |
pip install pineappl
with Python 3.6 fails. Adding the--verbose
switch three times gives some useful information:and indeed, if one goes to https://pypi.org/simple/pineappl/ and looks at the source code of the link
pineappl-0.7.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
it indeed requires at least Python 3.7:Now the question becomes: who generates this data? It's described in PEP 503, but I suppose it should be generated from the wheel's metadata which is correct.
For the time being we can circumvent the problem with:
The text was updated successfully, but these errors were encountered: