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!
What we said there still stands -- until there is CI to run on macOS ARM64, we can't upload wheels.
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.
We won't ship wheels until we can test cryptography for that platform, and
cross-compilation won't work for that -- and running CI under something
like qemu is way too slow.
On Sun, Feb 7, 2021 at 12:53 PM Gene Hoffman notifications@github.com
wrote:
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.0I could create a PR using cibuildwheel instead if that would be helpful.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pyca/cryptography/issues/5702#issuecomment-774718713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAGBGWRP7VBVWPYWLQOTDS53HQDANCNFSM4WT3OUXA
.
--
All that is necessary for evil to succeed is for good people to do nothing.
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.
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.
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.
Most helpful comment
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
cffilevel 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.