You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/01/08 09:11:26 UTC

(opendal) branch main updated: chore(ci): upgrade to manylinux_2_28 for aarch64 Python wheels (#5522)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 1c287eb74 chore(ci): upgrade to manylinux_2_28 for aarch64 Python wheels (#5522)
1c287eb74 is described below

commit 1c287eb74202061282567f4b588e3e772c472990
Author: messense <me...@icloud.com>
AuthorDate: Wed Jan 8 17:11:20 2025 +0800

    chore(ci): upgrade to manylinux_2_28 for aarch64 Python wheels (#5522)
---
 .github/workflows/release_python.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/release_python.yml b/.github/workflows/release_python.yml
index 99ea4b858..33945298d 100644
--- a/.github/workflows/release_python.yml
+++ b/.github/workflows/release_python.yml
@@ -59,11 +59,8 @@ 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" }
-    env:
-      # Workaround ring 0.17 build issue
-      CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
     steps:
       - uses: actions/checkout@v4
       - name: Setup Rust toolchain
@@ -75,7 +72,7 @@ jobs:
           command: build
           args: --release -o dist -i python3.11 --features=pyo3/extension-module,services-all,abi3
           sccache: true
-          manylinux: auto
+          manylinux: ${{ matrix.manylinux || 'auto' }}
       - uses: PyO3/maturin-action@v1
         with:
           working-directory: "bindings/python"
@@ -83,7 +80,7 @@ jobs:
           command: build
           args: --release -o dist -i python3.10 --features=pyo3/extension-module,services-all
           sccache: true
-          manylinux: auto
+          manylinux: ${{ matrix.manylinux || 'auto' }}
       - name: Build free-threaded wheels
         # windows free-threading building doesn't work on windows
         # https://github.com/apache/opendal/pull/5449#issuecomment-2560469190
@@ -95,7 +92,7 @@ jobs:
           command: build
           args: --release -o dist -i python3.13t --features=pyo3/extension-module,services-all
           sccache: true
-          manylinux: auto
+          manylinux: ${{ matrix.manylinux || 'auto' }}
       - name: Upload wheels
         uses: actions/upload-artifact@v3
         with: