Skip to content

Commit 16c02c0

Browse files
committed
Make Django 5 the default
1 parent 1f9ad80 commit 16c02c0

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ legacy_tox_ini = """
102102
py310
103103
py311
104104
py311sqlite
105-
py310-django5
106-
py311-django5
107-
py312-django5
105+
py310-django4
106+
py311-django4
107+
py312-django4
108108
labels =
109-
test = py312, py310, py311, py311sqlite, py310-django5, py311-django5, py312-django5, check
109+
test = py312, py310, py311, py311sqlite, py310-django4, py311-django4, py312-django4, check
110110
lint = flake8, black, isort
111111
112112
[testenv]
@@ -131,28 +131,28 @@ legacy_tox_ini = """
131131
setenv =
132132
DJANGO_SETTINGS_MODULE = test_app.sqlite3settings
133133
134-
[testenv:py310-django5]
134+
[testenv:py310-django4]
135135
deps =
136136
-r{toxinidir}/requirements/requirements_all.txt
137137
-r{toxinidir}/requirements/requirements_dev.txt
138138
commands_pre =
139-
python -m pip install --upgrade "Django==5.2.7"
139+
python -m pip install --upgrade "Django>=4.2.21,<4.3.0"
140140
docker = db
141141
142-
[testenv:py311-django5]
142+
[testenv:py311-django4]
143143
deps =
144144
-r{toxinidir}/requirements/requirements_all.txt
145145
-r{toxinidir}/requirements/requirements_dev.txt
146146
commands_pre =
147-
python -m pip install --upgrade "Django==5.2.7"
147+
python -m pip install --upgrade "Django>=4.2.21,<4.3.0"
148148
docker = db
149149
150-
[testenv:py312-django5]
150+
[testenv:py312-django4]
151151
deps =
152152
-r{toxinidir}/requirements/requirements_all.txt
153153
-r{toxinidir}/requirements/requirements_dev.txt
154154
commands_pre =
155-
python -m pip install --upgrade "Django==5.2.7"
155+
python -m pip install --upgrade "Django>=4.2.21,<4.3.0"
156156
docker = db
157157
158158
[docker:db]

requirements/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# if you are add a new feature which requires dependencies they should be in a separate requirements_<feature>.in file
44
#
55
cryptography
6-
Django>=4.2.21,<4.3.0 # CVE-2024-45230, CVE-2024-56374
6+
Django<6.0
77
djangorestframework
88
django-crum
99
inflection

0 commit comments

Comments
 (0)