-
Notifications
You must be signed in to change notification settings - Fork 219
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
manylinux docker image producing broken/misnamed wheels? #49
Comments
Argh. This could be entirely my fault. It's possible that I built both the 'm' and 'mu' wheels in the same directory without deleting the |
To some degree, this is a bug in auditwheel, or at least a feature request that's on my todolist. For pythons (py2) that have the narrow/wide distinction, auditwheel can and should check whether the wheel contains the appropriate narrow/wide symbols based on its declared arch tag, and error out if they don't match. |
It would be very good to apply that, otherwise it will be fairly easy to upload the wrong wheels and give manylinux a bad rep. |
So probably sequential builds in the same directory simply resulted in a bad wheel, and nothing in the toolchain detected that until runtime? I guess I should go remove that wheel from PyPi then. |
Unfortunately you will have to re-upload with a new (higher) version number as updating an existing file (same filename but different contents) is not possible (deletion is possible). |
Well, this is a plausible explanation, but I'm not sure. If you try re-doing the build while making sure to clean out the environment in between builds, and the problem does in fact go away, then it becomes pretty certain that this was the root cause. |
I think this is an important bug to fix and we should start doing official (versioned or timestamped) releases of the manylinux docker images along with a changelog to document when those bugs are fixed. |
I just confirmed that if I do (I likely didn't notice the build being so quick the second time around because I did all the |
Note that wheels do have a rarely used "build tag" field, if you want to avoid bumping your overall version number: https://www.python.org/dev/peps/pep-0427/#file-name-convention Of course, when things are going wrong may not be the best moment to experiment with new features... @ogrisel: I agree that starting to keep a change log might be a good idea. OTOH I'm not sure how version numbers work with docker, esp. given our auto deploy stuff, because I am ignorant of most things docker :-). Is there a simple explanation? |
We can push tags to the quay repo. The default tag is 'latest' and is
updated by default each time you push a new image with default tag.
Users can pull a specific tag or pull latest if no specific tag is
requested.
|
Possibly related to #29 (?), gevent got a report in gevent/gevent#789 about bad unicode symbols from the wheel downloaded from PyPI. The 1.1.0 wheels worked, but the 1.1.1 wheels, built on an image that supported both ABIs, didn't. I'm not enough of an ABI expert to know exactly what's going on at first glance.
Since this wheel was just built and uploaded with the default manylinux docker image, I'm hoping somebody here might have an idea. Thanks!
CC @woozyking
The text was updated successfully, but these errors were encountered: