From 828b542d521930c8e225c313eac6995ad7c6d0ea Mon Sep 17 00:00:00 2001 From: Dima Tisnek Date: Mon, 19 Aug 2024 09:16:14 +0900 Subject: [PATCH] ci: run tests on Py 3.12 and install test on Py 3.13 (#1315) Python 3.13 has reached rc1, this PR adds it to the test matrix. Note: not using free-threaded builds at this point due to https://github.com/actions/setup-python/issues/771 (not like we'd expect any difference, frankly) --- .github/workflows/framework-tests.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/framework-tests.yaml b/.github/workflows/framework-tests.yaml index fe668dc41..f00ff2fcb 100644 --- a/.github/workflows/framework-tests.yaml +++ b/.github/workflows/framework-tests.yaml @@ -43,7 +43,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.8", "3.10"] + python-version: ["3.8", "3.10", "3.12"] exclude: - {python-version: "3.8", os: "macos-latest"} # macos-14 is arm64, and there's no Python 3.8 build for arm64 @@ -66,7 +66,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.8", "3.10"] + python-version: ["3.8", "3.10", "3.12"] steps: - uses: actions/checkout@v4 @@ -105,7 +105,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] exclude: - {python-version: "3.8", os: "macos-latest"} # macos-14 is arm64, and there's no Python 3.8 build for arm64 - {python-version: "3.9", os: "macos-latest"} # macos-14 is arm64, and there's no Python 3.9 build for arm64 @@ -116,6 +116,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install build dependencies run: pip install wheel build