From 2d3476e17298f144c7705358e96f3896938af0db Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 11 May 2024 03:16:21 -0400 Subject: [PATCH 1/4] ci: try adding pypy Signed-off-by: Henry Schreiner --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9512145..af73db7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 + interpreter: "3.8 pypy3.8 pypy3.9 pypy3.10" - runner: ubuntu-latest target: x86 - runner: ubuntu-latest @@ -48,7 +49,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist + args: --release --out dist --interpreter ${{ matrix.platform.interpreter || '3.8' }} sccache: 'true' manylinux: ${{ matrix.platform.manylinux || 'auto' }} - name: Upload wheels @@ -64,6 +65,7 @@ jobs: platform: - runner: windows-latest target: x64 + interpreter: "3.8 pypy3.8 pypy3.9 pypy3.10" - runner: windows-latest target: x86 steps: @@ -76,7 +78,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist + args: --release --out dist --interpreter ${{ matrix.platform.interpreter || '3.8' }} sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 @@ -102,7 +104,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist + args: --release --out dist --interpreter "3.8 pypy3.8 pypy3.9 pypy3.10" sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 From f2b5da3f367b1b260bcd2eb98404f9555a91131f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 11 May 2024 03:31:44 -0400 Subject: [PATCH 2/4] ci: try getting pypy before hand on Windows Signed-off-by: Henry Schreiner --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af73db7..d013f76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,9 +42,6 @@ jobs: target: ppc64le steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -71,8 +68,12 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + if: matrix.platform.target == 'x64' with: - python-version: '3.12' + python-version: | + pypy3.8 + pypy3.9 + pypy3.10 architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 From 222dd64f13cc36f8aadcd69b386d1b8388d66a52 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 11 May 2024 03:35:44 -0400 Subject: [PATCH 3/4] ci: try dropping pypy 3.8 on Windows Signed-off-by: Henry Schreiner --- .github/workflows/release.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d013f76..9b0b38d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,19 +62,11 @@ jobs: platform: - runner: windows-latest target: x64 - interpreter: "3.8 pypy3.8 pypy3.9 pypy3.10" + interpreter: "3.8 pypy3.9 pypy3.10" - runner: windows-latest target: x86 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - if: matrix.platform.target == 'x64' - with: - python-version: | - pypy3.8 - pypy3.9 - pypy3.10 - architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -98,9 +90,6 @@ jobs: target: aarch64 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - name: Build wheels uses: PyO3/maturin-action@v1 with: From 23bd9bfb24b71de146a6b7ac581bac66fea53543 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 11 May 2024 03:43:59 -0400 Subject: [PATCH 4/4] ci: drom windows pypy --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b0b38d..1f6202d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,6 @@ jobs: platform: - runner: windows-latest target: x64 - interpreter: "3.8 pypy3.9 pypy3.10" - runner: windows-latest target: x86 steps: