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

c-code template: GHA step "Download xxx wheel" ignores macOS platform #247

Closed
dataflake opened this issue May 28, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@dataflake
Copy link
Member

When building and testing macOS wheels with the c-code template GHA test configuration the currently running platform (x86_64 vs. arm64) is ignored. The download step synthesizes a file name consisting of the runner OS and the Python version only. macOS wheels come in two flavors, the standard one that conforms to the simple runner OS/Python version naming is actually for x86_64, while the arm64 wheel with a slightly different name never gets downloaded and tested.

It could be that the arm64 wheels are broken, at least for the way the macOS GHA runner is set up, see https://github.com/zopefoundation/Zope/actions/runs/9264831347/job/25485668334#step:2:1

@dataflake
Copy link
Member Author

I implemented 8d837c8 as a workaround to make sure the correct wheels are tested on modern (arm64) GHA runners.

The eggs that have been published so far are not broken. They install and run fine on a "normal" macOS/arm64 install. The issue is with the GHA runners using Python in universal2 build and zc.buildout not being able to deal with that, which doesn't need solving here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant