From 64eb65c31ec26d5799cce785446b4826453d9413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 3 Oct 2023 07:27:46 +0200 Subject: [PATCH] deps: Add Python 3.12 support --- .github/workflows/test.yml | 5 +++++ pyproject.toml | 2 +- setup.cfg | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e97f06..8881c80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,11 +15,16 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' exclude: - os: windows-latest python-version: '3.10' - os: macos-latest python-version: '3.10' + - os: windows-latest + python-version: '3.11' + - os: macos-latest + python-version: '3.11' name: ${{ matrix.os }}, Python ${{ matrix.python-version }} steps: diff --git a/pyproject.toml b/pyproject.toml index 203805f..911a3fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ select = [ "SLF", "N" ] -target-version = "py37" +target-version = "py39" [tool.ruff.mccabe] max-complexity = 16 diff --git a/setup.cfg b/setup.cfg index 03424fb..e8ae7b7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Software Development :: Internationalization Topic :: Software Development :: Localization Topic :: Utilities