From 4158067c6f31b388a93fb76715bd9dfe404826c2 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 27 Aug 2024 20:45:54 +0300 Subject: [PATCH] Feat(build,tests): Python 3.12 --- project_template/setup.py | 1 + project_template/tox.ini | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/project_template/setup.py b/project_template/setup.py index cff05a0..332acf7 100755 --- a/project_template/setup.py +++ b/project_template/setup.py @@ -65,6 +65,7 @@ setup( 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], packages=['{project}'], package_data={'{project}': []}, diff --git a/project_template/tox.ini b/project_template/tox.ini index 827f970..ed5581f 100644 --- a/project_template/tox.ini +++ b/project_template/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.15 -envlist = py27,py3{4,5,6,7,8,9,10,11},pypy,pypy3,py{27,36,311}-flake8 +envlist = py27,py3{4,5,6,7,8,9,10,11,12},pypy,pypy3,py{27,37,312}-flake8 [testenv] commands = @@ -11,12 +11,12 @@ passenv = CI DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR deps = -rdevscripts/requirements/requirements_tests.txt -[testenv:py{27,34,35,36,37,38,39,310,311,py,py3}] +[testenv:py27,py3{4,5,6,7,8,9,10,11,12}] commands = {[testenv]commands} {envpython} -m pytest -[testenv:py{27,34,35,36,37,38,39,310,311}-flake8] +[testenv:py27,py3{4,5,6,7,8,9,10,11,12}-flake8] deps = flake8 pytest < 7.0 -- 2.39.5