-
Notifications
You must be signed in to change notification settings - Fork 145
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
Manylinux2010 #92
Manylinux2010 #92
Conversation
- Remove libpanel and libncurses from the lib_whitelist (pypa#94) - Generate symbol_versions - Bump priority to 200.
test_manylinux uses an interim manylinux2 image stored on Docker Hub, and a fork of pip that understands the manylinux2 ABI tag.
@wtolson, @markrwilliams, thanks for putting this together. At a glance this all looks great to me (love the new symbol generation script), but I do want a chance to review this more closely before I hit merge. I dunno if any of the other maintainers would like to take a look. |
Tests are now showing that wheels get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I'm going to sync up with @njsmith before merging.
Can this be merged? |
@ofek: @njsmith pointed out to me (as does @mayeut's comment above) that manylinux2010 labels are being applied to manylinux1 compliant wheels. The order should be reversed. If a wheel passes both the manylinux1 and manylinux2010 policy, it should be labeled with the more restrictive policy (in that case, manylinux1). So we'll need to get that fixed before this is ready to merge, otherwise this will break backwards compatibility and relabel manylinux1 wheels as manylinux2010, which we don't want. |
auditwheel/policy/policy.json
Outdated
@@ -25,5 +25,26 @@ | |||
"libX11.so.6", "libXext.so.6", "libXrender.so.1", "libICE.so.6", | |||
"libSM.so.6", "libGL.so.1", "libgobject-2.0.so.0", | |||
"libgthread-2.0.so.0", "libglib-2.0.so.0", "libresolv.so.2" | |||
]}, | |||
{"name": "manylinux2010", | |||
"priority": 200, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following up on my most recent comment, I believe this priority should be lowered such that it is between manylinux1 (most restrictive) and "linux" (least restrictive). Current manylinux1 binaries should also be manylinux2010 compliant, but not vice versa.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should have done the priorities in increasing rather than decreasing order... feel free to pick an arbitrary number between 0 and 100 for now (90?) and if we need to renumber later because the range was too small we can do that eventually.
What needs to be done to get this resolved? Is there some way I can help? |
@safijari the policy precedence needs to be adjusted and the tests updated, per my last comment (and others) |
I'm committing to getting this merged this upcoming weekend. I'll make the necessary changes. Send me angry emails/GH messages if this isn't merged by Monday the 19th 😄 |
Pick up wheel 0.31.1 pinning, among other changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't do a super-detailed review since I'm not actually that familiar with auditwheel internals, but I did read it over and it looked fine to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finished my own review of the changes and added one more test update for pure wheels. Once that passes Travis this is GTM.
This is an update of @markrwilliams merge request #88. Updates the tag from manylinux2 to manylinux2010 to reflect the changes in PEP 571. Teaches auditwheel about manylinux2010. See pypa/manylinux#152 for the corresponding Docker image.