From ed3109a8f3600cde84990fa4f6d670e9dd47ff6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Wed, 17 Jul 2024 14:59:45 +0200 Subject: [PATCH] Add support for Django 5.1 --- .github/workflows/test.yml | 1 + pyproject.toml | 1 + tox.ini | 2 ++ 3 files changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b768a7fc..570df829 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,7 @@ jobs: tox-environment: - django42 - django50 + - django51 - djangomain env: diff --git a/pyproject.toml b/pyproject.toml index 0cec5d06..92da5356 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ classifiers = [ "Framework :: Django", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", diff --git a/tox.ini b/tox.ini index ec92ccb6..916fb805 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = docs django42 django50 + django51 djangomain isolated_build = true @@ -12,6 +13,7 @@ commands = {envpython} -Wa -b -m django test --settings tests.settings deps = django42: Django>=4.2,<4.3 django50: Django>=5.0,<5.1 + django51: Django>=5.1b1,<5.2 djangomain: https://github.com/django/django/archive/main.tar.gz [testenv:ruff]