From a44ad5d15329f3cf9ad875561334750231e23015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sun, 10 Nov 2024 18:57:07 +0300 Subject: [PATCH] [improvement] Add Django 5.1 support (#520) --- pyproject.toml | 1 + tox.ini | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 63bf8091..14068107 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", diff --git a/tox.ini b/tox.ini index 94f29cb9..5023d2e8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = py{38,39}-django{32,40,41,42} - py{310}-django{32,40,41,42,50} - py{311}-django{41,42,50} - py{312}-django{42,50} + py{310}-django{32,40,41,42,50,51} + py{311}-django{41,42,50,51} + py{312}-django{42,50,51} isolated_build = True [gh-actions] @@ -22,6 +22,7 @@ deps = django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 django50: Django>=5.0,<5.1 + django51: Django>=5.1,<5.2 djangomain: https://github.com/django/django/archive/main.tar.gz -r{toxinidir}/requirements.txt commands = @@ -29,7 +30,7 @@ commands = [testenv:i18n] deps = - Django>=3.2,<5.1 + Django>=3.2,<5.2 -r{toxinidir}/requirements.txt commands = ./run.sh makemessages @@ -38,7 +39,7 @@ commands = [testenv:typecheck] deps = - Django>=3.2,<5.1 + Django>=3.2,<5.2 -r{toxinidir}/requirements.txt commands = ./run.sh typecheck