diff --git a/.github/workflows/release_python.yml b/.github/workflows/release_python.yml index b716246cb1..9fc6f2c97f 100644 --- a/.github/workflows/release_python.yml +++ b/.github/workflows/release_python.yml @@ -62,7 +62,7 @@ jobs: - { os: windows-latest } - { os: macos-latest, target: "universal2-apple-darwin" } - { os: ubuntu-latest, target: "x86_64" } - - { os: ubuntu-latest, target: "aarch64" } + - { os: ubuntu-latest, target: "aarch64", manylinux: "manylinux_2_28" } - { os: ubuntu-latest, target: "armv7l" } steps: - uses: actions/checkout@v4 @@ -76,13 +76,10 @@ jobs: - uses: PyO3/maturin-action@v1 with: target: ${{ matrix.target }} - manylinux: auto + manylinux: ${{ matrix.manylinux || 'auto' }} working-directory: "bindings/python" command: build args: --release -o dist - env: - # Workaround ring 0.17 build issue - CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8" - name: Upload wheels uses: actions/upload-artifact@v4 with: