From: Oleg Broytman Date: Thu, 24 Jul 2025 12:35:05 +0000 (+0300) Subject: Tested with Python 3.14 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=00458a936e393d002dbb4261af0b61836d35bc14;p=m_librarian.git Tested with Python 3.14 --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 6e5c407..d9a3bba 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -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", "3.12", "3.13"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] exclude: - os: windows-latest python-version: "2.7" diff --git a/docs-ru/news.rst b/docs-ru/news.rst index 7929319..0e21469 100644 --- a/docs-ru/news.rst +++ b/docs-ru/news.rst @@ -6,7 +6,7 @@ Version 0.4.2 (2024-??-??) * CI(GHActions): Переключиться на ``setup-miniconda``. -* Tests, CI(GHActions): Python 3.13. +* Tests, CI(GHActions): Python 3.13, 3.14. Версия 0.4.1 (2024-07-18) ------------------------- diff --git a/docs/news.rst b/docs/news.rst index 3be9c0a..5b09c47 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -6,7 +6,7 @@ Version 0.4.2 (2024-??-??) * CI(GHActions): Switch to ``setup-miniconda``. -* Tests, CI(GHActions): Python 3.13. +* Tests, CI(GHActions): Python 3.13, 3.14. Version 0.4.1 (2024-07-18) -------------------------- diff --git a/setup.py b/setup.py index 748f17e..3c821f9 100755 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ setup( 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', ], packages=['m_librarian', 'm_librarian.web'], package_data={'m_librarian': [ diff --git a/tox.ini b/tox.ini index c41a511..72caed0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.15 -envlist = py{27,34,35,36,37,38,39,310,311,312,313}-sqlite,py{27,37,312}-flake8 +envlist = py{27,34,35,36,37,38,39,310,311,312,313,314}-sqlite,py{27,37,314}-flake8 # Base test environment settings [testenv] @@ -10,16 +10,18 @@ commands = {envpython} -m pytest --version deps = -rdevscripts/requirements/requirements_tests.txt +# Upgrade pip/setuptools/wheel +download = true passenv = CI DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR platform = linux|darwin -[testenv:py{27,34,35,36,37,38,39,310,311,312,313}-sqlite] +[testenv:py{27,34,35,36,37,38,39,310,311,312,313,314}-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,312,313}-sqlite-w32] +[testenv:py{27,34,35,36,37,38,39,310,311,312,313,314}-sqlite-w32] platform = win32 commands = {[testenv]commands} @@ -28,10 +30,10 @@ commands = rm.py -f {env:TEMP}/test.sqdb # flake8 -[testenv:py{27,34,35,36,37,38,39,310,311,312,313}-flake8] +[testenv:py{27,34,35,36,37,38,39,310,311,312,313,314}-flake8] deps = flake8 - pytest < 7.0 + pytest commands = {[testenv]commands} flake8