From 802f41b4492f0a468397394c02d75627b5d49856 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 24 Sep 2024 21:32:47 +0300 Subject: [PATCH] CI(GHActions): Python 3.13 --- .github/workflows/run-tests.yaml | 3 ++- docs-ru/news.rst | 2 ++ docs/news.rst | 2 ++ setup.py | 1 + tox.ini | 8 ++++---- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index c2bd4f7..1edecfd 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"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] exclude: - os: windows-latest python-version: "2.7" @@ -42,6 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: conda-incubator/setup-miniconda@v3 with: + channels: conda-forge, conda-forge/label/python_rc miniforge-version: latest python-version: ${{ matrix.python-version }} if: ${{ !contains(fromJSON(env.not_in_conda), matrix.python-version) }} diff --git a/docs-ru/news.rst b/docs-ru/news.rst index 3a8b578..7929319 100644 --- a/docs-ru/news.rst +++ b/docs-ru/news.rst @@ -6,6 +6,8 @@ Version 0.4.2 (2024-??-??) * CI(GHActions): Переключиться на ``setup-miniconda``. +* Tests, CI(GHActions): Python 3.13. + Версия 0.4.1 (2024-07-18) ------------------------- diff --git a/docs/news.rst b/docs/news.rst index ed28ae4..3be9c0a 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -6,6 +6,8 @@ Version 0.4.2 (2024-??-??) * CI(GHActions): Switch to ``setup-miniconda``. +* Tests, CI(GHActions): Python 3.13. + Version 0.4.1 (2024-07-18) -------------------------- diff --git a/setup.py b/setup.py index c5bc7f9..ce8c01e 100755 --- a/setup.py +++ b/setup.py @@ -62,6 +62,7 @@ setup( 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', ], packages=['m_librarian', 'm_librarian.web'], package_data={'m_librarian': [ diff --git a/tox.ini b/tox.ini index aff3292..096ceed 100644 --- 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,37,312}-flake8 +envlist = py27-sqlite,py3{4,5,6,7,8,9,10,11,12,13}-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,312}-sqlite] +[testenv:py{27,34,35,36,37,38,39,310,311,312,313}-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}-sqlite-w32] +[testenv:py{27,34,35,36,37,38,39,310,311,312,313}-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,312}-flake8] +[testenv:py{27,34,35,36,37,38,39,310,311,312,313}-flake8] deps = flake8 pytest < 7.0 -- 2.39.5