From e4ae3359f6230dae76c77e1f88146e084e0d2a21 Mon Sep 17 00:00:00 2001 From: MatthieuDartiailh Date: Fri, 5 Apr 2024 14:53:42 +0200 Subject: [PATCH] test Python 3.12 in CIs --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 +- setup.py | 1 + tox.ini | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64f23ee..07aba61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"] os: [ubuntu-latest, macos-latest, windows-latest] exclude: - os: windows-latest diff --git a/pyproject.toml b/pyproject.toml index bb50818..a86f02f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ exclude = ''' | docs/conf.py ''' line-length = 100 -target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] +target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311', 'py312'] [tool.isort] include_trailing_comma = true diff --git a/setup.py b/setup.py index 419c659..d6b2f13 100644 --- a/setup.py +++ b/setup.py @@ -77,6 +77,7 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]: "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", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", diff --git a/tox.ini b/tox.ini index fcab3aa..0c4556f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{37,38,39,310,311} + py{37,38,39,310,311,312} pypy3 build cov