From 7651d2b2cbba41aa12f1c4d4eaf109d932175896 Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Wed, 24 Apr 2024 14:01:32 +0200 Subject: [PATCH] chore: update python versions in CI (#251) --- .github/workflows/ci.yml | 10 ++++++++-- noxfile.py | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bbd063..1b4b1e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,16 +40,21 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.9] + python-version: ["3.12"] + allow-prereleases: [false] include: - os: ubuntu-latest - python-version: "3.12" + python-version: "3.13" + allow-prereleases: true - os: ubuntu-latest python-version: "3.11" + allow-prereleases: false - os: ubuntu-latest python-version: "3.10" + allow-prereleases: false - os: ubuntu-latest python-version: 3.8 + allow-prereleases: false runs-on: "${{ matrix.os }}" steps: - name: Harden Runner @@ -72,6 +77,7 @@ jobs: - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0 with: python-version: ${{ matrix.python-version }} + allow-prereleases: ${{ matrix.allow-prereleases }} - uses: dtolnay/rust-toolchain@bb45937a053e097f8591208d8e74c90db1873d07 with: diff --git a/noxfile.py b/noxfile.py index 6165249..388d359 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,7 +1,7 @@ import nox -@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) +@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]) def test(session): session.install("-rrequirements-dev.txt") session.install("-e", ".", "--no-build-isolation")