Skip to content

Commit

Permalink
Drop support for EOL Django versions (3.2, 4.0, 4.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulgens committed Nov 16, 2024
1 parent b697b31 commit f490968
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
Expand All @@ -35,7 +32,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8"
dependencies = ["django>=3.2"]
dependencies = ["django>=4.2"]
[project.optional-dependencies]
docs = ["sphinx"]

Expand Down
13 changes: 5 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
py{38,39}-django{32,40,41,42}
py{310}-django{32,40,41,42,50,51}
py{311}-django{41,42,50,51}
py{38,39}-django{42}
py{310}-django{42,50,51}
py{311}-django{42,50,51}
py{312}-django{42,50,51}
py{313}-django{51}
isolated_build = True
Expand All @@ -19,9 +19,6 @@ python =
[testenv]
allowlist_externals = ./run.sh
deps =
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
Expand All @@ -32,7 +29,7 @@ commands =

[testenv:i18n]
deps =
Django>=3.2,<5.2
Django>=4.2,<5.2
-r{toxinidir}/requirements.txt
commands =
./run.sh makemessages
Expand All @@ -41,7 +38,7 @@ commands =

[testenv:typecheck]
deps =
Django>=3.2,<5.2
Django>=4.2,<5.2
-r{toxinidir}/requirements.txt
commands =
./run.sh typecheck

0 comments on commit f490968

Please sign in to comment.