From ea28e80bc1eca4f2d5d525583042e0c82c56fc73 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:04:49 -0700 Subject: [PATCH 1/7] ci: build aarch64 wheels --- .github/workflows/pypi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index fcb115c..9d5aafc 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -27,6 +27,8 @@ jobs: target: armv7 - runner: ubuntu-latest target: ppc64le + - runner: ubuntu-latest + target: aarch64 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 From 4861abc40785f6dd55c05835b0cbacf178dabd8c Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:11:35 -0700 Subject: [PATCH 2/7] ci: upgrade manylinux --- .github/workflows/pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 9d5aafc..10de294 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -40,7 +40,7 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: "true" - manylinux: auto + manylinux: "2_24" - name: Upload wheels uses: actions/upload-artifact@v4 with: From 420cb59d40b8feed7c407f8536f4f2327bac6dbd Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:15:56 -0700 Subject: [PATCH 3/7] ci: try just uv --- .github/workflows/pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 10de294..5f8809b 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -38,7 +38,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out dist --find-interpreter --uv sccache: "true" manylinux: "2_24" - name: Upload wheels From 05dad4e2f7eed8585e2a9867f6dd5011074a5a6d Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:18:16 -0700 Subject: [PATCH 4/7] ci: try the modern one? --- .github/workflows/pypi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 5f8809b..4f4a126 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -38,9 +38,9 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter --uv + args: --release --out dist --find-interpreter sccache: "true" - manylinux: "2_24" + manylinux: "2_28" - name: Upload wheels uses: actions/upload-artifact@v4 with: From d6a15740b591e1e470e58b8008422c1fded1fad6 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:23:23 -0700 Subject: [PATCH 5/7] ci: ensure pip --- .github/workflows/pypi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 4f4a126..a5fed07 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -41,6 +41,7 @@ jobs: args: --release --out dist --find-interpreter sccache: "true" manylinux: "2_28" + before-script-linux: python -m ensurepip - name: Upload wheels uses: actions/upload-artifact@v4 with: From ceb41012839d0786bf5604281a3b8b52170e28ef Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:25:28 -0700 Subject: [PATCH 6/7] ci: ensure pip better Isn't this fun? --- .github/workflows/pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index a5fed07..1d54888 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -41,7 +41,7 @@ jobs: args: --release --out dist --find-interpreter sccache: "true" manylinux: "2_28" - before-script-linux: python -m ensurepip + before-script-linux: /usr/bin/python3 -m ensurepip - name: Upload wheels uses: actions/upload-artifact@v4 with: From 2cccb05bd092622efb21f12b78031812a0f4c160 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Thu, 2 Jan 2025 14:27:40 -0700 Subject: [PATCH 7/7] ci: copy obstore --- .github/workflows/pypi.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 1d54888..fcfe048 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -21,14 +21,22 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 + manylinux: auto - runner: ubuntu-latest target: x86 + manylinux: auto + - runner: ubuntu-latest + target: aarch64 + manylinux: "2_28" - runner: ubuntu-latest target: armv7 + manylinux: auto - runner: ubuntu-latest - target: ppc64le + target: s390x + manylinux: auto - runner: ubuntu-latest - target: aarch64 + target: ppc64le + manylinux: auto steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -40,8 +48,7 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter sccache: "true" - manylinux: "2_28" - before-script-linux: /usr/bin/python3 -m ensurepip + manylinux: ${{ matrix.platform.manylinux }} - name: Upload wheels uses: actions/upload-artifact@v4 with: