From: Oleg Broytman Date: Wed, 18 Oct 2023 19:03:07 +0000 (+0300) Subject: Tests,CI: Python 3.12 X-Git-Url: https://git.phdru.name/?p=ppu.git;a=commitdiff_plain;h=0100e19b4325aa440f5c7981dcd724b21abefae6 Tests,CI: Python 3.12 --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 34bb96b..0f05ef9 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -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 diff --git a/README.rst b/README.rst index a2ea9d0..aade406 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Portable Python Utilities. Author: Oleg Broytman . -Copyright (C) 2017-2022 PhiloSoft Design. +Copyright (C) 2017-2023 PhiloSoft Design. License: GPL. diff --git a/devscripts/requirements/requirements_tests.txt b/devscripts/requirements/requirements_tests.txt index 68c6b86..eb84928 100644 --- a/devscripts/requirements/requirements_tests.txt +++ b/devscripts/requirements/requirements_tests.txt @@ -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' diff --git a/docs/news.rst b/docs/news.rst index c315373..edda935 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -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``. diff --git a/setup.py b/setup.py index 792ad0e..def0a81 100755 --- 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 798d9df..eafc68e 100644 --- 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