From f649a29135f2d6b323dd42f36222787847ab23af Mon Sep 17 00:00:00 2001 From: PJ Farrell Date: Thu, 23 Oct 2025 07:40:46 -0700 Subject: [PATCH 1/3] add django 5.2 to tox, updated classifiers in setup.py --- setup.py | 1 + tox.ini | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6999dd8..54951fb 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ def read(*rnames): "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Framework :: Django :: 5.1", + "Framework :: Django :: 5.2", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index ccfc3f7..10c2633 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{3.9,3.10,3.11,3.12,3.13}-django{4.2,5.0,5.1} + py{3.9,3.10,3.11,3.12,3.13}-django{4.2,5.0,5.1,5.2} [testenv] commands = @@ -11,6 +11,7 @@ deps = django4.2: django~=4.2 django5.0: django~=5.0 django5.1: django~=5.1 + django5.2: django~=5.2 djangomaster: https://github.com/django/django/archive/master.tar.gz . From 827ae79386e6d7c7e75631cd3f42f97ff3f13a4c Mon Sep 17 00:00:00 2001 From: PJ Farrell Date: Thu, 23 Oct 2025 07:46:31 -0700 Subject: [PATCH 2/3] Add Django 5.2 to actions matrix and include missing Python version --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0f9a163..b3a9c27 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,8 +15,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] - django-version: ["4.2", "5.0", "5.1"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + django-version: ["4.2", "5.0", "5.1", "5.2"] include: - python-version: "3.9" django-version: "4.2" From ce1d04ea0989fe4b23e405025c645f9da8ce1c39 Mon Sep 17 00:00:00 2001 From: PJ Farrell Date: Thu, 23 Oct 2025 07:49:06 -0700 Subject: [PATCH 3/3] Exclude unsupported Python version by Django version --- .github/workflows/python-package.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b3a9c27..11f1112 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -22,7 +22,17 @@ jobs: django-version: "4.2" - python-version: "3.13" django-version: "5.1" - + exclude: + # Python 3.9 is incompatible with Django v5+ + - django-version: 5.0 + python-version: 3.9 + - django-version: 5.1 + python-version: 3.9 + - django-version: 5.2 + python-version: 3.9 + # Django 4.2 is incompatible with Python 3.13+ + - django-version: 4.2 + python-version: 3.13 steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }}