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

No supported wheels found for macOS arm64 #457

Open
ofajardo opened this issue Mar 7, 2022 · 1 comment
Open

No supported wheels found for macOS arm64 #457

ofajardo opened this issue Mar 7, 2022 · 1 comment

Comments

@ofajardo
Copy link

ofajardo commented Mar 7, 2022

hi

I am trying to build macOS arm64 wheels for my project on Azure pipelines, but this specific platform is failing (default MacOS and linux are fine) is failing during tests (building is succeeding) with the error:

ERROR: no supported wheels found

I tried to do something similar as this one, but didn't manage: https://github.com/MacPython/scipy-wheels/pull/150/files

What am I doing wrong?

Here is my azure yml: https://github.com/ofajardo/pyreadr_wheels4/blob/master/azure-pipelines.yml
and here the azure pipelines failing: https://dev.azure.com/ofajardo/pyreadr_wheels4/_build/results?buildId=105&view=logs&j=edc54a0e-92d1-574b-433e-80fdfaa23be3&t=d0e4c54a-7f31-5215-670d-55d58cc754a5&l=51

thanks in advance for the help!

@radarhere radarhere changed the title no supported wheels found for MacOS arm64 No supported wheels found for MacOS arm64 Mar 7, 2022
@radarhere radarhere changed the title No supported wheels found for MacOS arm64 No supported wheels found for macOS arm64 Mar 7, 2022
@ofajardo
Copy link
Author

OK, the solution I have found for now is to skip tests for arm64, so in my azure template in the install wheel and test:

condition: ne(variables['PLAT'], 'arm64'

That produces wheels for macos 11 (As I set the MACOSX_DEPLOYMENT_TARGET to 11.0) which seem to work well.

It would be of course be better to have the tests in place. If I understand correctly, what is happening here is that in my job matrix I have MB_PYTHON_OS_VER set to 10.9, and probably that old python doesn't recognize the wheel for osx 11. I tried to set the MB_PYTHON_OS_VER to 11, but that fails because multibuild is naming the python package to be downloaded incorrectly:

Python download failed! Check python-3.8.10-macosx11.0.pkg exists on the server.

when the package is named python-3.8.10-macos11.0.pkg (not macosx, the x is not needed, see here, so it seems to me that multibuild needs adaptation at that point.

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

1 participant