Skip to content

Commit

Permalink
[improvement] Add Django 5.1 support (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulgens authored Nov 10, 2024
1 parent a53e2cd commit a44ad5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -22,14 +22,15 @@ 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 =
./run.sh test

[testenv:i18n]
deps =
Django>=3.2,<5.1
Django>=3.2,<5.2
-r{toxinidir}/requirements.txt
commands =
./run.sh makemessages
Expand All @@ -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

0 comments on commit a44ad5d

Please sign in to comment.