From 34953dd73938d5ed7ce05170a6d2ec71a527b685 Mon Sep 17 00:00:00 2001 From: profitroll Date: Sat, 7 Sep 2024 20:21:52 +0200 Subject: [PATCH] Added Python 3.12 support --- pyproject.toml | 3 ++- tox.ini | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 41f7f72..ffaa568 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 :: Libraries :: Python Modules", "Topic :: Utilities", ] @@ -44,7 +45,7 @@ speed = { file = "requirements/speed.txt" } where = ["src"] [tool.black] -target-version = ['py38', 'py39', 'py310', 'py311'] +target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] line-length = 94 [tool.isort] diff --git a/tox.ini b/tox.ini index b3d08ff..e35f504 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.8.0 -envlist = py38, py39, py310, py311 +envlist = py38, py39, py310, py311, py312 isolated_build = true [gh-actions] @@ -9,6 +9,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] setenv = @@ -21,4 +22,3 @@ deps = -r{toxinidir}/requirements/speed.txt commands = pytest --basetemp={envtmpdir} --cov=pyrmv --cov-report term-missing -