From 56e36a9913db48ba19c1ee27b895869fca90199c Mon Sep 17 00:00:00 2001 From: Peter Law Date: Mon, 5 Jan 2026 17:00:21 +0000 Subject: [PATCH 1/3] Explicitly support newer Python --- .github/workflows/tests.yml | 2 +- setup.py | 2 ++ tox.ini | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d605303..0098868 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: tests: strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] test-os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.test-os }} diff --git a/setup.py b/setup.py index 209d314..08dfef2 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,8 @@ def read(*filenames, **kwargs): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', 'Framework :: Flake8', diff --git a/tox.ini b/tox.ini index 207fa22..7e96501 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, py311, py312, lint +envlist = py38, py39, py310, py311, py312, py313, py314, lint [gh-actions] python = @@ -7,7 +7,9 @@ python = 3.9: py39 3.10: py310 3.11: py311 - 3.12: py312, lint + 3.12: py312 + 3.13: py313 + 3.14: py314, lint [testenv] deps = From 17b62df074e92306fa2830b4a84fd17ec8adde12 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Mon, 5 Jan 2026 17:09:14 +0000 Subject: [PATCH 2/3] Bump flake8 version tested against for newer Python support This is still an older version, so we're still maintaining plenty of compatibility. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7e96501..e0e5c2a 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ commands = py.test {posargs} [testenv:lint] deps = - flake8==5.0.2 + flake8==6.1.0 flake8-bugbear flake8-comprehensions flake8-debugger From 8755d16d4166c98655174649c90ebb289955df10 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Mon, 5 Jan 2026 17:13:21 +0000 Subject: [PATCH 3/3] Bump pytest version for newer Python compatibility This is the last version of pytest to support Python 3.8, which we still support (for now). --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e0e5c2a..98613d2 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ python = [testenv] deps = - pytest==7.3.1 + pytest==8.3.5 commands = py.test {posargs} [testenv:lint]