-
Notifications
You must be signed in to change notification settings - Fork 230
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
Apple Silicon Binaries #155
Comments
It's dependent on the availability of CI. I would not expect macOS aarch64 runners to be available soon. I see some effort on cross compilation in maturin. In that case CI would not be able to test the artifact. I think the risk of an issue unique to macOS aarch64 is low and users unusually dependent on binary wheels given the Rust toolchain, so that's a fine trade off. If someone would like to help I suggest looking at setting up cross compilation in CI. |
Hey, is this related to
|
You need to run |
Opened #164 to build macOS universal2 wheel which supports both Intel and Apple Silicon Macs. |
Something is wrong with the deploy step in CI, universal2 wheels didn't get uploaded to pypi. |
twine upload --non-interactive --skip-existing "$1" I think |
Ok, they've been uploaded now. |
Note that you need to use pip version 21.0.1 and later to install universal2 wheels. ❯ pip install orjson
Collecting orjson
Downloading orjson-3.5.1-cp38-cp38-macosx_10_9_universal2.whl (435 kB)
|████████████████████████████████| 435 kB 856 kB/s
Installing collected packages: orjson
Successfully installed orjson-3.5.1 |
It looks like some of these builds are timing out while compiling the Rust dependencies (possibly the custom serde_json dep?): https://cloud.drone.io/ijl/orjson/429/1/2. This is causing aarch64 wheel availability to be a bit spotty for some versions. 🤔 |
Yes, the timeouts are intermittent since a week ago with no compiler change. It seems a Drone CI issue. I don't know of an alternative aarch64 CI provider. |
If you can accept cross compiling to aarch64, maturin-action can do it on GitHub Actions, then we can run tests in QEMU with https://github.com/uraimo/run-on-arch-action |
Hi all,
Thanks for this great library! I found that it is a little difficult (but not too difficult) to install on Apple Silicon as it requires installing rust nightly to get maturin installed.
Would it be possible to release binaries for this platform?
Thanks!
The text was updated successfully, but these errors were encountered: