-
Notifications
You must be signed in to change notification settings - Fork 86
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
Linux wheels in the latest release (2.2.0a1) are broken #438
Comments
Thanks for catching this. We may be able to create windows wheels automatically. I will open an issue with the status later today. |
@casevh, maybe this is related to fat-enabled builds? It seems that the Debian gmp package adds |
IIRC, some virtualization platforms reported a CPU-ID that didn't precisely correspond to the actual instructions available to the VM. Does Debian specify a target CPU architecture when compiling GMP? |
On another hand, wheels from gmpy2's CI job - works fine for me...
Yes, I think so: https://salsa.debian.org/science-team/gmp/-/blob/master/debian/rules On another hand, --enable-fat was reverted here in 11 years ago, for v5.0.4. Not sure why: https://salsa.debian.org/science-team/gmp/-/commit/63ceefd6c6bec68004288c84f880a2a6a1424ee6 |
Possibly related... https://gmplib.org/list-archives/gmp-bugs/2021-January/004989.html Unfortunately, I'm not sure what we should do. I think --enable-fat was used for most of the 2.1.x binary wheels. I'm oaky with skipping --enable-fat for the a2 release and watching for any feedback. |
You did these wheels by hand or they were uploaded to PyPI from the CI artifact? |
I've only created the Windows wheels manually. The Linux and Mac wheels were artifacts from CI. |
Indeed, I'm able to reproduce this issue with wheel from the CI. These seems to be jobs for the tagged commit (v2.2.0a1): https://github.com/aleaxit/gmpy/actions/runs/6294471115 I have a different md5 for gmpy2-2.2.0a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl from this artifact (515ec9c66067d2d1bca21c8fd34ade57 vs 72b20c4686d331a2b0bcc10697176e17 on PyPI), but the issue is valid for this wheel. |
Are you running it on a bare-metal Linux host or in a virtual environment?
What is the physical CPU?
…On Sun, Oct 29, 2023 at 6:34 PM Sergey B Kirpichev ***@***.***> wrote:
Indeed, I'm able to reproduce this issue with wheel from the CI. These
seems to be jobs for the tagged commit (v2.2.0a1):
https://github.com/aleaxit/gmpy/actions/runs/6294471115
I have a different md5 for
gmpy2-2.2.0a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
from this artifact (515ec9c66067d2d1bca21c8fd34ade57 vs
72b20c4686d331a2b0bcc10697176e17 on PyPI), but the issue is valid for this
wheel.
—
Reply to this email directly, view it on GitHub
<#438 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMR234XKBPCLEASMW7DGE3YB373FAVCNFSM6AAAAAA5Z54QRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGM2DCNJUGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
real
|
I did tests for CPython 3.11 and 3.12. But I suspect - all versions are affected. Maybe MacOS wheels are broken too.
An example:
This is on the Debian stable:
I would guess, that this is because uploaded wheels aren't whose which tested in the GA CI. E.g. if I take wheel from the GA artifact (e.g. https://github.com/aleaxit/gmpy/actions/runs/6388473596#artifacts) - this works:
I think the proper fix could be - a partial automation of the release process (windows wheels will be uploaded manually): we build wheels in GA jobs, thus we could upload them to the PyPI and/or to the Github releases page. (See how I did this in the Diofant project.)
Edit:
On another hand, it seems that linux wheels works in GA, e.g. an example in the mpmath: https://github.com/mpmath/mpmath/actions/runs/6320497044/job/17163080054
I'm able to reproduce this issue with wheel from the CI. These seems to be jobs for the tagged commit (v2.2.0a1): https://github.com/aleaxit/gmpy/actions/runs/6294471115 I have a different md5 for gmpy2-2.2.0a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl from this artifact (515ec9c66067d2d1bca21c8fd34ade57 vs 72b20c4686d331a2b0bcc10697176e17 on PyPI), but the issue is valid for this wheel.
The text was updated successfully, but these errors were encountered: