From b518c549ab133112e32320615ba043d95fe9e29e Mon Sep 17 00:00:00 2001 From: ringsaturn Date: Sat, 14 Sep 2024 08:50:37 +0800 Subject: [PATCH] test under 3.13 --- .github/workflows/CI.yml | 17 ++++++++++------- .github/workflows/Test.yml | 5 ++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index df741b4..b4791d1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,6 +12,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 + jobs: linux: runs-on: ubuntu-latest @@ -26,7 +29,7 @@ jobs: manylinux: auto command: build sccache: true - args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -47,7 +50,7 @@ jobs: target: aarch64-unknown-linux-gnu command: build sccache: true - args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -68,7 +71,7 @@ jobs: target: armv7 command: build sccache: true - args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 container: messense/manylinux_2_24-cross:armv7 - name: Upload wheels uses: actions/upload-artifact@v4 @@ -89,7 +92,7 @@ jobs: target: x86_64 command: build sccache: true - args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 manylinux: musllinux_1_1 - name: Upload wheels uses: actions/upload-artifact@v4 @@ -110,7 +113,7 @@ jobs: target: aarch64 command: build sccache: true - args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 manylinux: musllinux_1_1 - name: Upload wheels uses: actions/upload-artifact@v4 @@ -130,7 +133,7 @@ jobs: with: command: build sccache: true - args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -149,7 +152,7 @@ jobs: with: command: build sccache: true - args: --release -o dist --target universal2-apple-darwin -i 3.8 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist --target universal2-apple-darwin -i 3.8 3.9 3.10 3.11 3.12 3.13.0-rc.2 - name: Upload wheels uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 04f6a93..e89b5fe 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -10,13 +10,16 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 + jobs: Testing: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"] os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v4