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

Provide macosx_13_0_arm64 wheels #275

Open
mattip opened this issue Aug 12, 2024 · 5 comments
Open

Provide macosx_13_0_arm64 wheels #275

mattip opened this issue Aug 12, 2024 · 5 comments

Comments

@mattip
Copy link

mattip commented Aug 12, 2024

Describe why it is important and where it will be useful

Some of us are still stuck on macos13 even on arm64, for various reasons. The wheels provided on PyPI are built (I think on cirrus?) with macosx_14_0_arm64.

Describe your proposed solution

Instead the wheels could be built on github, using the github arm64 13 runners, which would provide binary wheels for macosx_13_0_arm64, and would also unify wheels building on github. Could the wheels be built with MACOSX_DEPLOYMENT_TARGET='11.0'?

Describe alternatives you've considered, if relevant

I have to build from source.

Additional context

No response

@bigcat88
Copy link
Owner

Good day.

Yes, there are plans to move the binary wheel assembly for the next version to GitHub, and I would have done it earlier, but from the information that I can find on GitHub, there are no free runners for Arm on MacOS-13.

https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

I will be glad to be wrong and see an example of an action with macos-13-arm64 for GitHub.

@mattip
Copy link
Author

mattip commented Aug 12, 2024

Hmm. Good point, sorry. Numpy moved to macos-14 runners in this PR. But I see there are macosx_11_0_arm64 wheels for NumPy. Looking more closely, it seems they come from cirrus ci, by using cibuildwheel and MACOSX_DEPLOYMENT_TARGET='11.0'. So I guess cirrus can build wheels for macos_11...

@mattip
Copy link
Author

mattip commented Aug 12, 2024

I will change the name of the issue to reflect my real request.

@mattip mattip changed the title Move macos arm64 wheel builds from cirrus to github runners to provide macosx_13_0_arm64 wheels Provide macosx_13_0_arm64 wheels Aug 12, 2024
@bigcat88
Copy link
Owner

The problem is that on macOS all libheif packages are installed via brew from binary brew bottles, and to change that someone would need to write separate build actions for libde265, x265, libaom and all the other packages to go away from brew.

It's not impossible, but it would take time..

@mattip
Copy link
Author

mattip commented Aug 13, 2024

Bleh. Thanks for this thought experiment. Maybe someday brew will respect MACOS_DEPLOYMENT_TARGET.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants