Skip to content

Commit f0a0426

Browse files
authored
Fix #1858 -- Drop support for Django 4.0 (#1859)
1 parent eea6437 commit f0a0426

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

docs/changes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Change log
44
Pending
55
-------
66

7+
* Dropped support for Django 4.0.
78
* Added Python 3.12 to test matrix.
89
* Removed outdated third-party panels from the list.
910
* Avoided the unnecessary work of recursively quoting SQL parameters.

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ classifiers = [
1818
"Environment :: Web Environment",
1919
"Framework :: Django",
2020
"Framework :: Django :: 3.2",
21-
"Framework :: Django :: 4.0",
2221
"Framework :: Django :: 4.1",
2322
"Framework :: Django :: 4.2",
2423
"Framework :: Django :: 5.0",

tox.ini

+4-6
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ envlist =
44
docs
55
packaging
66
py{38,39,310}-dj32-{sqlite,postgresql,postgis,mysql}
7-
py310-dj40-sqlite
87
py{310,311}-dj41-{sqlite,postgresql,postgis,mysql}
98
py{310,311,312}-dj{42,50,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
109

1110
[testenv]
1211
deps =
1312
dj32: django~=3.2.9
14-
dj40: django~=4.0.0
1513
dj41: django~=4.1.3
1614
dj42: django~=4.2.1
1715
dj50: django~=5.0a1
@@ -51,28 +49,28 @@ pip_pre = True
5149
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
5250

5351

54-
[testenv:py{38,39,310,311,312}-dj{32,40,41,42,50,main}-{postgresql,psycopg3}]
52+
[testenv:py{38,39,310,311,312}-dj{32,41,42,50,main}-{postgresql,psycopg3}]
5553
setenv =
5654
{[testenv]setenv}
5755
DB_BACKEND = postgresql
5856
DB_PORT = {env:DB_PORT:5432}
5957

6058

61-
[testenv:py{38,39,310,311,312}-dj{32,40,41,42,50,main}-postgis]
59+
[testenv:py{38,39,310,311,312}-dj{32,41,42,50,main}-postgis]
6260
setenv =
6361
{[testenv]setenv}
6462
DB_BACKEND = postgis
6563
DB_PORT = {env:DB_PORT:5432}
6664

6765

68-
[testenv:py{38,39,310,311,312}-dj{32,40,41,42,50,main}-mysql]
66+
[testenv:py{38,39,310,311,312}-dj{32,41,42,50,main}-mysql]
6967
setenv =
7068
{[testenv]setenv}
7169
DB_BACKEND = mysql
7270
DB_PORT = {env:DB_PORT:3306}
7371

7472

75-
[testenv:py{38,39,310,311,312}-dj{32,40,41,42,50,main}-sqlite]
73+
[testenv:py{38,39,310,311,312}-dj{32,41,42,50,main}-sqlite]
7674
setenv =
7775
{[testenv]setenv}
7876
DB_BACKEND = sqlite3

0 commit comments

Comments
 (0)