From 927307b0ecd71230e02eb2fd6fe44886a465108c Mon Sep 17 00:00:00 2001 From: Phil Starkey Date: Tue, 3 Mar 2026 16:09:04 +1100 Subject: [PATCH 1/2] Update tests to run against currently supported versions of Python and Django --- .github/workflows/python.yaml | 2 +- setup.py | 10 ++++------ tox.ini | 23 ++++++++++------------- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index b06e4fe..46fe361 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -20,7 +20,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"] + python-version: ["3.14", "3.13", "3.12", "3.11", "3.10"] steps: - uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index 8b3b4d1..b7b858c 100644 --- a/setup.py +++ b/setup.py @@ -27,21 +27,19 @@ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", - "Framework :: Django :: 5.0", + "Framework :: Django :: 5.2", + "Framework :: Django :: 6.0", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", # noqa "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.9", "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", ], install_requires=( "clamd", diff --git a/tox.ini b/tox.ini index 29996e5..54628ec 100644 --- a/tox.ini +++ b/tox.ini @@ -1,21 +1,19 @@ [tox] envlist = - py37-django32 - py38-django{42, 32} - py39-django{42, 32} - py310-django{42, 32} - py311-django{50, 42} - py312-django{50, 42} - py312-djangomain + py310-django{42, 52} + py311-django{42, 52} + py312-django{42, 52, 60} + py313-django{52, 60} + py314-django{52, 60} + py314-djangomain [gh-actions] python = - 3.7: py37 - 3.8: py38 - 3.9: py39 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 + 3.14: py314 [testenv] setenv = COVERAGE_FILE=.coverage.{envname} @@ -26,10 +24,9 @@ commands = python -Wdefault -m pytest --cov --cov-report term-missing:skip-cover deps = pytest pytest-cov - django32: django~=3.2.0 - django41: django~=4.1.0 django42: django~=4.2.0 - django50: django~=5.0.0 + django52: django~=5.2.0 + django60: django~=6.0.0 djangomain: https://github.com/django/django/archive/refs/heads/main.zip ignore_outcome = From 5d1bac804f6271b1d2ec6dcdcc727cb1c990779e Mon Sep 17 00:00:00 2001 From: Phil Starkey Date: Tue, 3 Mar 2026 16:21:58 +1100 Subject: [PATCH 2/2] Update GitHub runner image to one that actually exists --- .github/workflows/python.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 46fe361..7c9f67e 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -9,7 +9,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest services: clamav: