From a53e2cd21c207c491f04c7f09cb696dbc2e5da8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 9 Nov 2024 23:29:50 +0300 Subject: [PATCH] [improvement] Add Django 5.0 support (#519) --- pyproject.toml | 1 + tox.ini | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 17b00a17..63bf8091 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ classifiers = [ "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", diff --git a/tox.ini b/tox.ini index ba5eb972..94f29cb9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = - py{38,39,310}-django{32} - py{38,39,310}-django{40,41,42} - py{311}-django{41,42} - py{312}-django{42} + 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} isolated_build = True [gh-actions] @@ -21,6 +21,7 @@ deps = django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 djangomain: https://github.com/django/django/archive/main.tar.gz -r{toxinidir}/requirements.txt commands = @@ -28,7 +29,7 @@ commands = [testenv:i18n] deps = - Django>=3.2,<4.2 + Django>=3.2,<5.1 -r{toxinidir}/requirements.txt commands = ./run.sh makemessages @@ -37,7 +38,7 @@ commands = [testenv:typecheck] deps = - Django>=3.2,<4.3 + Django>=3.2,<5.1 -r{toxinidir}/requirements.txt commands = ./run.sh typecheck