From 8597203b687325c7516367135e026586279d0583 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sun, 12 May 2024 05:43:47 -0400 Subject: [PATCH] fix(ci): add Python 3.13 pre-release to test matrix (#257) * GitHub Actions add Python 3.13 to test matrix This version of Python is in beta now, and will be stable soonish. * chore(ci): delete redundant macos-14 jobs from test matrix macos-latest runners now resolve to macos-14. (To be precise: the transition is still rolling out across some repos, according to the announcement post, but workflows that have already migrated won't switch back. The relevant workflows at this repo have already migrated, so the explicit macos-14 jobs are now redundant to the implicit macOS 14 (macos-latest) jobs, and can be removed from the text matrix now.) Making this change per review feedback on the PR. Co-authored-by: Christian Clauss --------- Co-authored-by: Christian Clauss --- .github/workflows/node-gyp.yml | 7 ++----- .github/workflows/python_tests.yml | 9 ++------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node-gyp.yml b/.github/workflows/node-gyp.yml index 3c96a948..bad5e05d 100644 --- a/.github/workflows/node-gyp.yml +++ b/.github/workflows/node-gyp.yml @@ -10,11 +10,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, macos-14, ubuntu-latest, windows-latest] - python: ["3.8", "3.10", "3.12"] - exclude: - - os: macos-14 - python: "3.8" + os: [macos-latest, ubuntu-latest, windows-latest] + python: ["3.8", "3.10", "3.12", "3.13"] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index a93412da..abb3b00f 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -15,13 +15,8 @@ jobs: fail-fast: false max-parallel: 5 matrix: - os: [macos-latest, macos-14, ubuntu-latest] # , windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - exclude: - - os: macos-14 - python-version: "3.8" - - os: macos-14 - python-version: "3.9" + os: [macos-latest, ubuntu-latest] # , windows-latest] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }}