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

MacOS / ARM / "is not a supported wheel" error unless launching from Py 3.8. #1177

Closed
amunra opened this issue Jul 14, 2022 · 2 comments
Closed

Comments

@amunra
Copy link

amunra commented Jul 14, 2022

Description

cibuildwheel.__version__ == '2.8.0'

When running cibuildwheel on Apple Silicon, I found that I need to run from a Python 3.8 interpreter.

Otherwise I encouter an issue where the wheel is built, but it can't be imported (I guess):

...
pip install /private/var/folders/...path/to/...-cp38-cp38-macosx_11_0_arm64.whl
ERROR: ....whl is not a supported wheel on this platform.

Workaround:

/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m cibuildwheel --platform macos --archs arm64

Build log

No response

CI config

No response

@Czaki
Copy link
Contributor

Czaki commented Jul 14, 2022

read this PR #1171 and linked ones. there are explanations.

@joerick
Copy link
Contributor

joerick commented Jul 14, 2022

There are some awkward details around Python 3.8 wheels on AS. We've changed the behaviour recently, though that's as-yet unreleased. It's not clear to me what exactly is failing for you here, but it might be fixed on main. Let me know if not.

@joerick joerick closed this as completed Jul 14, 2022
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

3 participants