Open justvanrossum opened 1 year ago
For one, some packages (notably numpy) currently do not offer universal2 wheels
I mentioned this to Frederik the other day, fegarding the lack of universal2 wheels for numpy. There's a tool called delocate-fuse
(available after pip install delocate
) that can merge two mac wheels with different architectures arm64 and x86_64 into a "fat" one that has universal2 tag.
So for numpy you should be able to download the two wheels from PyPI, then use the delocate-fuse script to merge them into a universal2 wheel:
https://github.com/matthew-brett/delocate#making-dual-architecture-binaries
Sure, but this requires fiddling with the workflow and more testing, which I don't want to do right now...
And I also mean: thank you! I hope to get back to this later.
requires fiddling with the workflow...
yeah, fair enough
building on Intel will choose Intel wheels when available
I think pip has a --platform option as well, you may try to tinker with that
I think pip has a --platform option as well, you may try to tinker with that
I did tinker with that today, and it's one of the main reasons I want to postpone to later: --platform universal2
requires --no-deps
and an explicit --target
, both of which are kind of a bummer.
Relates to #222.