From 759d40ceb9ae54551cd77f5962b9014afd9443f8 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 14 May 2024 08:51:07 -0500 Subject: [PATCH] Revert "Use manylinux: auto for aarch64 builds (#3444)" (#3576) This reverts #3444 which appears to be the cause of SSL failures when building aarch64 Linux images on macOS hosts (see https://github.com/astral-sh/uv/issues/3570) Closes https://github.com/astral-sh/uv/issues/3570 --- .github/workflows/build-binaries.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 4673f437d..8cf5eaa4d 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -297,12 +297,10 @@ jobs: run: python scripts/transform_readme.py --target pypi - name: "Build wheels" uses: PyO3/maturin-action@v1 - env: - # Workaround ring 0.17 build issue - CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8" with: target: ${{ matrix.platform.target }} - manylinux: auto + # On `aarch64`, use `manylinux: 2_28`; otherwise, use `manylinux: auto`. + manylinux: ${{ matrix.platform.arch == 'aarch64' && '2_28' || 'auto' }} docker-options: ${{ matrix.platform.maturin_docker_options }} args: --release --locked --out dist --features self-update - uses: uraimo/run-on-arch-action@v2