From cf2a93a3e99c752e84d93a9862adcd5ad6a9f470 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Wed, 16 Oct 2024 18:16:08 +0200 Subject: [PATCH] Add `Python 3.13` and `Django 5.1` support. --- .github/workflows/test-package.yml | 1 + pyproject.toml | 2 ++ tox.ini | 9 ++++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 5899b00..c421f27 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -22,6 +22,7 @@ jobs: python-version {3.10}, django-version {4.0, 4.1, 4.2, 5.0, 5.1} python-version {3.11}, django-version {4.1, 4.2, 5.0, 5.1} python-version {3.12}, django-version {4.2, 5.0, 5.1} + python-version {3.13}, django-version {5.1} outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} diff --git a/pyproject.toml b/pyproject.toml index ecd7be8..880c812 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ classifiers = [ "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", @@ -35,6 +36,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Build Tools", ] dependencies = [ diff --git a/tox.ini b/tox.ini index f74e168..0a3f84c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,16 @@ [tox] envlist = - py310-{dj40,dj41,dj42,dj50}-{sqlite}, - py311-{dj41,dj42,dj50}-{sqlite}, - py312-{dj42,dj50}-{sqlite}, + py310-{dj40,dj41,dj42,dj50,dj51}-{sqlite}, + py311-{dj41,dj42,dj50,dj51}-{sqlite}, + py312-{dj42,dj50,dj51}-{sqlite}, + py313-{dj51}-{sqlite}, [gh-actions] python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [testenv] passenv = CI,GITHUB_WORKFLOW @@ -21,6 +23,7 @@ deps = dj41: Django == 4.1.* dj42: Django == 4.2.* dj50: Django == 5.0.* + dj51: Django == 5.1.* -r requirements.txt -r requirements-test.txt