Skip to content

Commit beaebf7

Browse files
authored
Drop Django 4.2 to 5.1 support (#701)
These versions are all EOL since April.
1 parent 6f2d8ae commit beaebf7

4 files changed

Lines changed: 89 additions & 168 deletions

File tree

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
Unreleased
6+
----------
7+
8+
* Drop Django 4.2 to 5.1 support.
9+
510
6.12.0 (2026-02-27)
611
-------------------
712

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ requires-python = ">=3.10"
2525
classifiers = [
2626
"Development Status :: 5 - Production/Stable",
2727
"Framework :: Django",
28-
"Framework :: Django :: 4.2",
29-
"Framework :: Django :: 5.0",
30-
"Framework :: Django :: 5.1",
3128
"Framework :: Django :: 5.2",
3229
"Framework :: Django :: 6.0",
3330
"Intended Audience :: Developers",
@@ -63,19 +60,13 @@ docs = [
6360
"sphinx-build-compatibility",
6461
"sphinx-copybutton>=0.5.2",
6562
]
66-
django42 = [ "django>=4.2a1,<5; python_version>='3.8'" ]
67-
django50 = [ "django>=5a1,<5.1; python_version>='3.10'" ]
68-
django51 = [ "django>=5.1a1,<5.2; python_version>='3.10'" ]
6963
django52 = [ "django>=5.2a1,<6; python_version>='3.10'" ]
7064
django60 = [ "django>=6a1,<6.1; python_version>='3.12'" ]
7165

7266
[tool.uv]
7367
sources.sphinx-build-compatibility = { git = "https://github.com/readthedocs/sphinx-build-compatibility", rev = "4f304bd4562cdc96316f4fec82b264ca379d23e0" }
7468
conflicts = [
7569
[
76-
{ group = "django42" },
77-
{ group = "django50" },
78-
{ group = "django51" },
7970
{ group = "django52" },
8071
{ group = "django60" },
8172
],

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ requires =
44
env_list =
55
py314-django{60, 52}
66
py314-codegen
7-
py313-django{60, 52, 51}
8-
py312-django{60, 52, 51, 50, 42}
9-
py311-django{52, 51, 50, 42}
10-
py310-django{52, 51, 50, 42}
7+
py313-django{60, 52}
8+
py312-django{60, 52}
9+
py311-django{52}
10+
py310-django{52}
1111

1212
[testenv]
1313
runner = uv-venv-lock-runner

0 commit comments

Comments
 (0)