Skip to content

Commit 1c287eb

Browse files
authored
chore(ci): upgrade to manylinux_2_28 for aarch64 Python wheels (#5522)
1 parent b212297 commit 1c287eb

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release_python.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,8 @@ jobs:
5959
- { os: windows-latest }
6060
- { os: macos-latest, target: "universal2-apple-darwin" }
6161
- { os: ubuntu-latest, target: "x86_64" }
62-
- { os: ubuntu-latest, target: "aarch64" }
62+
- { os: ubuntu-latest, target: "aarch64", manylinux: "manylinux_2_28" }
6363
- { os: ubuntu-latest, target: "armv7l" }
64-
env:
65-
# Workaround ring 0.17 build issue
66-
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
6764
steps:
6865
- uses: actions/checkout@v4
6966
- name: Setup Rust toolchain
@@ -75,15 +72,15 @@ jobs:
7572
command: build
7673
args: --release -o dist -i python3.11 --features=pyo3/extension-module,services-all,abi3
7774
sccache: true
78-
manylinux: auto
75+
manylinux: ${{ matrix.manylinux || 'auto' }}
7976
- uses: PyO3/maturin-action@v1
8077
with:
8178
working-directory: "bindings/python"
8279
target: "${{ matrix.target }}"
8380
command: build
8481
args: --release -o dist -i python3.10 --features=pyo3/extension-module,services-all
8582
sccache: true
86-
manylinux: auto
83+
manylinux: ${{ matrix.manylinux || 'auto' }}
8784
- name: Build free-threaded wheels
8885
# windows free-threading building doesn't work on windows
8986
# https://github.com/apache/opendal/pull/5449#issuecomment-2560469190
@@ -95,7 +92,7 @@ jobs:
9592
command: build
9693
args: --release -o dist -i python3.13t --features=pyo3/extension-module,services-all
9794
sccache: true
98-
manylinux: auto
95+
manylinux: ${{ matrix.manylinux || 'auto' }}
9996
- name: Upload wheels
10097
uses: actions/upload-artifact@v3
10198
with:

0 commit comments

Comments
 (0)