From: Oleg Broytman Date: Tue, 27 Aug 2024 17:45:54 +0000 (+0300) Subject: Feat(build,tests): Python 3.12 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4158067c6f31b388a93fb76715bd9dfe404826c2;p=cookiecutter.git Feat(build,tests): Python 3.12 --- 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