ci: update actions and fix ARM manylinux container usage#72
Merged
Conversation
Action version bumps (Node.js 24 compatibility): - actions/upload-artifact v4 → v7 - actions/download-artifact v4 → v8 - astral-sh/setup-uv v6 → v7 Fix ARM Linux wheel platform tags: - The default maturin-action containers for aarch64 are cross-compilation images (ghcr.io/rust-cross/*-cross:aarch64) intended for x86_64 hosts. On native ARM runners (ubuntu-24.04-arm), the action detects matching architecture and skips the container, building natively — which produces 'linux_aarch64' tags that PyPI rejects. - Fix: explicitly set container to native aarch64 images: - manylinux: quay.io/pypa/manylinux2014_aarch64 - musllinux: quay.io/pypa/musllinux_1_2_aarch64 - Add safety-net filter steps to remove any stray linux_* or non-universal2 wheels before artifact upload. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions dependencies for Node.js 24 compatibility and adjusts the ARM Linux wheel build environment so maturin produces PyPI-acceptable manylinux/musllinux platform tags on native ARM runners.
Changes:
- Bump artifact and uv setup actions to newer major versions (upload-artifact v7, download-artifact v8, setup-uv v7).
- Force native aarch64 manylinux/musllinux container images on
ubuntu-24.04-armto avoid producing rejectedlinux_*wheel tags. - Add post-build filtering steps to delete any stray
*-linux_*.whlwheels (Linux) and non-universal2wheels (macOS) before uploading artifacts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/publish.yml | Updates action versions, pins aarch64 builds to native manylinux/musllinux containers, and filters wheel artifacts before publish. |
| .github/workflows/ci.yml | Mirrors the build matrix container overrides and artifact filtering in the main CI workflow, plus updates action versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Action version bumps (Node.js 24 compatibility):
Fix ARM Linux wheel platform tags: