justvanrossum / fontgoggles

FontGoggles: Visual OTL Preview and QA
Apache License 2.0
404 stars 43 forks source link

Should upgrade to Python 3.11 #304

Open justvanrossum opened 1 year ago

justvanrossum commented 1 year ago

Relates to #222.

anthrotype commented 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

justvanrossum commented 1 year ago

Sure, but this requires fiddling with the workflow and more testing, which I don't want to do right now...

justvanrossum commented 1 year ago

And I also mean: thank you! I hope to get back to this later.

anthrotype commented 1 year ago

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

justvanrossum commented 1 year ago

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.