Closed gerph closed 1 month ago
I just noticed this too, pypi tagged the universal binary with "x86_64" while we intentionally separately built. See: https://pypi.org/project/unicorn/2.1.0/#files and we have unicorn-2.1.0-py2.py3-none-macosx_12_7_x86_64.whl
.
I will investigate and release a post version.
Turns out that it is https://github.com/pypa/wheel/issues/573#issuecomment-1901750935
New release is on the way
Resolved.
Summary
Attempting to install Unicorn 2.1.0 with
pip install -U unicorn
to get the latest version works, but when you try to use it, it fails to load the dynamic library.Reproduction steps
pip3 install -U unicorn
python3 -m unicorn
Failing output
Diagnostics
This information can be augmented by editing the file
unicorn_py3/unicorn.py
, to replace the_load_lib
function with:(that is, adding messages reporting the problems)
The output from this includes the actual failure reason:
Running
file
on this binary gives me:So this wheel is only for ARM64, and doesn't contain any build for other macOS architectures.
To be clear the package that is installed is
unicorn-2.1.0-py2.py3-none-macosx_10_9_universal2.whl