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

index 7a4d53d0bfc9adba53dd4f68713e10472bde63f7..e5e1d5576c57455f9ed1737d096c3269f08901fe 100644 (file)
@@ -10,7 +10,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest, macos-latest, windows-latest]
-        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
+        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
         include:
         - os: ubuntu-latest
           os-name: Linux
index e9716a919a87793abf46b8e99a2906244b01d4ed..612d45b3bba61048e539b28d7fecda50d9f8ce48 100644 (file)
@@ -1,5 +1,7 @@
 -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'
 ppu
index d38884066179fb49e1da4695073223e0c0a5072b..9d73a3316e0bb6e50dbf5ca81f1115cbd42f680f 100644 (file)
@@ -1,6 +1,11 @@
 Новости
 =======
 
+Версия 0.2.0.post3
+------------------
+
+* GHActions: Тесты с Python 3.12.
+
 Версия 0.2.0.post2 (2023-09-17)
 -------------------------------
 
index b3a66d60de43f68d17ac0ff7b78fb713bfc159c6..38f88e10b559af5ea30b6c6c734a216c4ef0ba21 100644 (file)
@@ -1,9 +1,11 @@
 News
 ====
 
-Version 0.2.0.post2
+Version 0.2.0.post3
 -------------------
 
+* GHActions: Test with Python 3.12.
+
 Version 0.2.0.post2 (2023-09-17)
 --------------------------------
 
index 5916411b9f29b5c56acef6bf90ec6bb51a54c1c3..2dc274f0984b0d4d80153ad8ef7a5c492508116a 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -59,6 +59,7 @@ setup(
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
         'Programming Language :: Python :: 3.11',
+        'Programming Language :: Python :: 3.12',
     ],
     packages=['m_librarian', 'm_librarian.web'],
     package_data={'m_librarian': [
diff --git a/tox.ini b/tox.ini
index 8604aba89c81b625e54192278edd35a7f19e71cd..aff32925655d077dd8d5c669b37538a2b2f5eb6b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 3.15
-envlist = py27-sqlite,py3{4,5,6,7,8,9,10,11}-sqlite,py{27,36,311}-flake8
+envlist = py27-sqlite,py3{4,5,6,7,8,9,10,11}-sqlite,py{27,37,312}-flake8
 
 # Base test environment settings
 [testenv]
@@ -13,13 +13,13 @@ deps =
 passenv = CI DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
 platform = linux|darwin
 
-[testenv:py{27,34,35,36,37,38,39,310,311}-sqlite]
+[testenv:py{27,34,35,36,37,38,39,310,311,312}-sqlite]
 commands =
     {[testenv]commands}
     -rm.py -f /tmp/test.sqdb
     {envpython} -m pytest -D sqlite:///tmp/test.sqdb
 
-[testenv:py{27,34,35,36,37,38,39,310,311}-sqlite-w32]
+[testenv:py{27,34,35,36,37,38,39,310,311,312}-sqlite-w32]
 platform = win32
 commands =
     {[testenv]commands}
@@ -28,7 +28,7 @@ commands =
     rm.py -f {env:TEMP}/test.sqdb
 
 # flake8
-[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