-
Notifications
You must be signed in to change notification settings - Fork 135
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 for Python2 no longer work #243
Comments
Does the original wheel compiled with manylinux2010 image works ?
When exactly ? that could help narrow the origin of the issue. |
PyMuPDF-1.16.18-cp27-cp27mu-manylinux2010_x86_64.whl.zip This wheel does work. It has been created April 22. |
After experiencing the problem and upon request from user s of my repo, I built a wheel for Py27 on my own machine to confirm that the error is outside this ambiente. And, as mentioned, this does work. |
I assume it doesn't that's why I'm asking. I'm trying to reproduce this. My guess is that it has to do with a lack of isolation between builds and the I will confirm this shortly. |
Ah, ok. Thanks for the info. |
Are you interested in the Travis log from that last successful run? |
The issue is indeed a build isolation issue.
manylinux images have already been updated to use Since you're using cibuildwheel, you have 2 options:
Please refer to cibuildwheel documentation in both cases. I will open an issue in cibuildwheel with a test case that shows the issue. |
Based on recommendation (2), it now works. |
Since a few days, binary wheels generated for Python2.7 on Travis CI do no longer work.
When importing, the error message
undefined symbol: PyUnicodeUCS2_FromStringAndSize
appears:The wheel generated by auditwheel is tagged
cp27-cp27mu-manylinux2010_x86_64
. Same happens forcp27-cp27m-manylinux2010_x86_64
.The original wheel
cp27-cp27mu-linux_x86_64
(compiled on Ubuntu) does work.Here is a full Travis CI run log:
linux-wheel.zip
The text was updated successfully, but these errors were encountered: