From 0a5864f2a0c480313527f80cdd8e4289ba3c8d0c Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Thu, 21 Dec 2023 11:36:25 -0500 Subject: [PATCH] feat: add Python 3.12 support (#188) --- .github/workflows/tests.yaml | 4 ++-- noxfile.py | 4 ++-- setup.py | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 925d60d..b9aba63 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,7 +40,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.12"] fail-fast: false steps: - name: Remove PR label @@ -113,7 +113,7 @@ jobs: runs-on: [self-hosted, linux, x64] strategy: matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.12"] fail-fast: false permissions: contents: read diff --git a/noxfile.py b/noxfile.py index ad3b6c2..2075b87 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,8 +21,8 @@ BLACK_VERSION = "black==22.3.0" LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py"] -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"] -UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"] +SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"] +UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"] @nox.session diff --git a/setup.py b/setup.py index 6579609..67bf80e 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], platforms="Posix; MacOS X; Windows", packages=packages,