piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

pycryptodomex v3.12 "Illegal instruction" in binary for armv6l #270

Closed JsBergbau closed 2 years ago

JsBergbau commented 2 years ago

Package name

pycryptodomex

Package version

3.12

PyPI URL

https://pypi.org/project/pycryptodomex/

piwheels URL

https://www.piwheels.org/project/pycryptodomex/

Python version

I am the maintainer

More information

With https://www.piwheels.org/simple/pycryptodomex/pycryptodomex-3.12.0-cp35-abi3-linux_armv6l.whl open python3 and type from Cryptodome.Cipher import AES then it will crash with illegal instruction

grafik

Version 3.11 works, see JsBergbau/MiTemperature2#104

bennuttall commented 2 years ago

This issue has been identified and we hope to fix asap. Follow in #276

bennuttall commented 2 years ago

The wheels have been rebuilt and this issue should now be resolved

JsBergbau commented 2 years ago

@bennuttall:

Thanks for looking into this and keeping us informed.

Is there some caching active? Did not work for me.

tempvenv $ python3 -m venv .
~/tempvenv $ cd bin
~/tempvenv/bin $ . ./activate
~/tempvenv/bin $ pip3 install pycryptodomex

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pycryptodomex
  Downloading https://www.piwheels.org/simple/pycryptodomex/pycryptodomex-3.12.0-cp35-abi3-linux_armv6l.whl (1.8MB)
    100% |████████████████████████████████| 1.8MB 46kB/s
Installing collected packages: pycryptodomex
Successfully installed pycryptodomex-3.12.0
~/tempvenv/bin $ python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from Cryptodome.Cipher import AES
Illegal Instruction
bennuttall commented 2 years ago

I'm not sure why the files didn't get deleted in this case - I've kicked it off again so they should be up shortly (might take a few hours as the build is quite a long one).

JsBergbau commented 2 years ago

Works now. Thank you very much.