]> git.phdru.name Git - ppu.git/commitdiff
Tests,CI: Python 3.12
authorOleg Broytman <phd@phdru.name>
Wed, 18 Oct 2023 19:03:07 +0000 (22:03 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 18 Oct 2023 19:03:07 +0000 (22:03 +0300)
.github/workflows/run-tests.yaml
README.rst
devscripts/requirements/requirements_tests.txt
docs/news.rst
setup.py
tox.ini

index 34bb96b48545c0fb266f9116b5771eb5df6e1830..0f05ef966657983d72e38386f6f8162eac77f370 100644 (file)
@@ -10,7 +10,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest, windows-latest]
-        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7"]
+        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.7"]
         include:
         - os: ubuntu-latest
           os-name: Linux
index a2ea9d094d4689d8aa1290dce9eef10f32b573f0..aade406b9a9a90ea36aee2f8be59009e3cb9486a 100644 (file)
@@ -2,7 +2,7 @@ Portable Python Utilities.
 
 Author: Oleg Broytman <phd@phdru.name>.
 
-Copyright (C) 2017-2022 PhiloSoft Design.
+Copyright (C) 2017-2023 PhiloSoft Design.
 
 License: GPL.
 
index 68c6b861cd2e25b28368f6aa016414c31b95a77a..eb84928b637f121ccbe1039e52a0b10fe37424d1 100644 (file)
@@ -1,4 +1,6 @@
 -r requirements.txt
 
+setuptools
 pytest < 5.0; python_version == '2.7' or python_version == '3.4'
-pytest < 7.0; python_version >= '3.5'
+pytest < 7.0; python_version >= '3.5' and python_version <= '3.11'
+pytest; python_version >= '3.12'
index c31537300effba6ccc85c8697a2555b2e874b399..edda935ff407fedafc54cd72ec2880b8e66698db 100644 (file)
@@ -4,7 +4,7 @@ News
 Version 0.8.1 (in development)
 ------------------------------
 
-* Python 3.11.
+* Python 3.11, 3.12.
 
 * CI(GHActions): Install all Python and PyPy versions from ``conda-forge``.
 
index 792ad0e902b6b2c1595c66e02900392f9152c40c..def0a81ca3aade8798e625d2d7cf4c57f3dcfc54 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,7 @@ setup(
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
         'Programming Language :: Python :: 3.11',
+        'Programming Language :: Python :: 3.12',
     ],
     packages=['ppu'],
     scripts=[
diff --git a/tox.ini b/tox.ini
index 798d9df4463ff9c81bdfe27b11c052bc071b0005..eafc68eece135cd85148ed7b5842e04f06ef30d9 100644 (file)
--- a/tox.ini
+++ b/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
 
 # Base test environment settings
 [testenv]
@@ -11,12 +11,12 @@ commands =
 deps =
     -rdevscripts/requirements/requirements_tests.txt
 
-[testenv:py{27,34,35,36,37,38,39,310,311,py,py3}]
+[testenv:py{27,34,35,36,37,38,39,310,311,312,py,py3}]
 commands =
     {[testenv]commands}
     {envpython} -m pytest
 
-[testenv:py{27,34,35,36,37,38,39,310,311}-flake8]
+[testenv:py{27,34,35,36,37,38,39,310,311,312}-flake8]
 deps =
     flake8
     pytest < 7.0