Skip to content
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

Publish wheels for macOS arm64 ("Apple Silicon", "M1") #5702

Closed
spencerwilson opened this issue Jan 26, 2021 · 6 comments
Closed

Publish wheels for macOS arm64 ("Apple Silicon", "M1") #5702

spencerwilson opened this issue Jan 26, 2021 · 6 comments

Comments

@spencerwilson
Copy link

spencerwilson commented Jan 26, 2021

This is a feature request, based on the convention that platform wheels are published for popular platforms. It'd provide value in that platform wheels are lower-friction than building from source (which on macOS in particular can be error-prone).

As far as I could tell, the only discussion this topic has seen was in this comment:

Until we have access to M1 resources in our CI infrastructure (or I get an M1 Mac) we won't be able to ship wheels so this will be the only way to build cryptography using Apple Silicon for the foreseeable future.

Thanks!

@alex
Copy link
Member

alex commented Jan 26, 2021

What we said there still stands -- until there is CI to run on macOS ARM64, we can't upload wheels.

@hoffmang9
Copy link

ciBuildWheel is using the native cross compiler in the GitHub mac runner to build MacOS ARM64 wheels. https://github.com/joerick/cibuildwheel/releases/tag/v1.9.0

I could create a PR using cibuildwheel instead if that would be helpful.

@alex
Copy link
Member

alex commented Feb 7, 2021 via email

@hoffmang9
Copy link

It's not QEMU as cross compiling is now natively part of the MacOS compiler tools on Intel. But sure on the desire to test a BigSur ARM64 runner.

@reaperhulk
Copy link
Member

I have an M1 machine I can run tests on locally so we could upload arm64 wheels for macOS. However, many users are being stymied by issues at the cffi level before they ever run into compilation problems with cryptography. I wrote up a Stack Overflow answer on resolving that problem, but we're likely to be in this situation for a while longer.

@reaperhulk
Copy link
Member

We've uploaded a cryptography wheel for arm64 and will do so on a best effort basis going forward. Since we have no M1 in our CI this process may not always be smooth, but for now 3.4.6 is covered.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants