Skip to content

Commit

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

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

0 comments on commit a53e2cd

Please sign in to comment.