From c40da9db0ed5a2c9f9f17ef58ab6f88da2fa8ed3 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Fri, 14 Jul 2023 12:24:24 +0200 Subject: [PATCH] Add Python v3.12 support --- .github/workflows/lint.yaml | 2 +- .github/workflows/tests.yaml | 2 +- noxfile.py | 2 +- shell.nix | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3884160b..eaf1be9c 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-22.04] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d33b92ba..57f12c69 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-22.04] runs-on: ${{ matrix.os }} diff --git a/noxfile.py b/noxfile.py index 09e74da5..ad529105 100644 --- a/noxfile.py +++ b/noxfile.py @@ -5,7 +5,7 @@ import nox -python_versions = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python_versions = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] def install_groups( diff --git a/shell.nix b/shell.nix index 3ac1a70f..558a52f2 100644 --- a/shell.nix +++ b/shell.nix @@ -19,6 +19,7 @@ pkgs.mkShell { python39 python310 python311 + python312 poetry ]; shellHook = ''