From 4816978f651d615174469ff0b34a8f81c506a8c1 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Fri, 9 Jun 2023 10:14:18 +0400 Subject: [PATCH] Test Python 3.12 beta --- .github/workflows/ci.yml | 2 +- noxfile.py | 4 ++-- pyproject.toml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16c83d092..971dc110c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] os: - macos-latest - ubuntu-latest diff --git a/noxfile.py b/noxfile.py index 4dbc5d985..e8b386c7d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,13 +1,13 @@ import nox -@nox.session(python=["3.8", "3.9", "3.10", "3.11"]) +@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) def test(session: nox.Session) -> None: session.install(".[develop]") session.run("pytest") -@nox.session(python=["3.8", "3.9", "3.10", "3.11"]) +@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) def it(session: nox.Session) -> None: session.install(".[develop]") session.run("pytest", "-s", "it") diff --git a/pyproject.toml b/pyproject.toml index 182897368..2d8f64378 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ classifiers=[ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", ] ################################################################################################