Skip to content

Commit dfe9128

Browse files
dainnilssonCopilot
andcommitted
Fix aarch64 wheel build: use native manylinux container with QEMU
The default cross-compilation container for aarch64 doesn't support installing target-arch system packages (pcsc-lite-devel, systemd-devel). Use the official native manylinux_2_28 containers with QEMU emulation instead, and specify containers explicitly for both Linux targets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c448cb9 commit dfe9128

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@ jobs:
8686
include:
8787
- os: ubuntu-latest
8888
target: x86_64
89+
container: quay.io/pypa/manylinux_2_28_x86_64
8990
- os: ubuntu-latest
9091
target: aarch64
92+
container: quay.io/pypa/manylinux_2_28_aarch64
9193
- os: macos-latest
9294
target: universal2-apple-darwin
9395
- os: windows-latest
@@ -119,6 +121,7 @@ jobs:
119121
target: ${{ matrix.target }}
120122
args: --release --out dist --find-interpreter
121123
manylinux: manylinux_2_28
124+
container: ${{ matrix.container }}
122125
before-script-linux: dnf install -y pcsc-lite-devel systemd-devel
123126

124127
- name: Upload wheels

0 commit comments

Comments
 (0)