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 ARM #740

Closed
BoboTiG opened this issue Dec 18, 2020 · 7 comments · Fixed by #807
Closed

Publish wheels for macOS ARM #740

BoboTiG opened this issue Dec 18, 2020 · 7 comments · Fixed by #807

Comments

@BoboTiG
Copy link
Collaborator

BoboTiG commented Dec 18, 2020

Waiting on pypa/cibuildwheel#484 before giving a try.
That will ease the support of new Apple Silicon machines.

@samschott
Copy link
Contributor

Oh, that would be great :) I'm not sure about the state of Python packaging but a universal wheel might also be good.

Watchdog is currently my only Python dependency with an extension module and therefore keeping me from shipping a fully universal app bundle.

@di
Copy link
Contributor

di commented Mar 17, 2021

@samschott Python packaging can definitely handle a universal wheel 😅 This project, however, can't ship a universal wheel because it requires platform-specific built distributions for macOS.

@di
Copy link
Contributor

di commented Mar 17, 2021

@BoboTiG Looks like this was added in https://pypi.org/project/cibuildwheel/1.9.0/. The pipeline here just uses the latest version, so the next release should include the ability to build for Apple Silicon via cross-compiling: https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon

@samschott
Copy link
Contributor

@di, apologies, I should have been more precise. I meant "univeral2" wheels as in macOS universal binaries (combined binaries for Apple Silicon and Intel Macs). Looking at the docs, this does seem to be supported by cibuildwheel.

I'm including watchdog as a dependency in a macOS app bundle and having a universal .so file served from PyPI would simplify the packaging process.

@di
Copy link
Contributor

di commented Mar 17, 2021

Ah, got it! Yes it shouldn't be a problem to publish a universal2 wheel here in addition to the architecture-specific ones.

@BoboTiG
Copy link
Collaborator Author

BoboTiG commented Jun 26, 2021

macOS arm64 and universal2 wheels are online :)

@samschott
Copy link
Contributor

Nice! Greatly appreciated :)

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

Successfully merging a pull request may close this issue.

3 participants