From 21c4f6a41b6a683756ea4bdd85224777345e70e2 Mon Sep 17 00:00:00 2001 From: Tom White Date: Tue, 24 Sep 2024 11:56:41 +0100 Subject: [PATCH] Test on Python 3.12 --- .github/workflows/build-numpy-2.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/upstream.yml | 2 +- .github/workflows/wheels.yml | 2 +- .mergify.yml | 2 ++ docs/getting_started.rst | 2 +- setup.cfg | 1 + 7 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-numpy-2.yml b/.github/workflows/build-numpy-2.yml index f7a2e49e8..1c6bdfe26 100644 --- a/.github/workflows/build-numpy-2.yml +++ b/.github/workflows/build-numpy-2.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fead4649a..a3ab6e388 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index c4a663137..838036b5b 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 3749ca640..558d9e8a9 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -46,7 +46,7 @@ jobs: matrix: # don't use macos-latest as it uses M1 which doesn't work os: [ubuntu-latest, macos-12] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} steps: # checkout repo to subdirectory to get access to scripts diff --git a/.mergify.yml b/.mergify.yml index b47535faf..4aa5edc25 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -5,6 +5,7 @@ queue_rules: - status-success=build (3.9) - status-success=build (3.10) - status-success=build (3.11) + - status-success=build (3.12) - status-success=win_build (3.9) - approved-reviews-by=@sgkit-dev/committers - "#approved-reviews-by>=1" @@ -17,6 +18,7 @@ pull_request_rules: - status-success=build (3.9) - status-success=build (3.10) - status-success=build (3.11) + - status-success=build (3.12) - status-success=win_build (3.9) - approved-reviews-by=@sgkit-dev/committers - "#approved-reviews-by>=1" diff --git a/docs/getting_started.rst b/docs/getting_started.rst index d549af2df..ee0e292b8 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -10,7 +10,7 @@ Getting Started Installation ------------ -You can install sgkit with pip. Python 3.9, 3.10, or 3.11 is required:: +You can install sgkit with pip. Python 3.9, 3.10, 3.11, or 3.12 is required:: $ pip install sgkit diff --git a/setup.cfg b/setup.cfg index 0c35d2151..6964dde2f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Scientific/Engineering [options]