Skip to content

Commit b88db9b

Browse files
Drop Django < 4.2 support (#246)
* chore: drop Django < 4.2 support Agent-Logs-Url: https://github.com/fabiocaccamo/django-maintenance-mode/sessions/04a25784-78f8-4f89-8edd-a16aa68a7ec8 Co-authored-by: fabiocaccamo <1035294+fabiocaccamo@users.noreply.github.com> * Bump Django minimum version to 4.2 in pyproject.toml and requirements.txt Agent-Logs-Url: https://github.com/fabiocaccamo/django-maintenance-mode/sessions/9a7b5f96-7c9c-4b5f-b6a1-9f0ca2f95434 Co-authored-by: fabiocaccamo <1035294+fabiocaccamo@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fabiocaccamo <1035294+fabiocaccamo@users.noreply.github.com>
1 parent 0419753 commit b88db9b

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
id: create_matrix
2424
with:
2525
matrix: |
26-
python-version {3.10}, django-version {4.0, 4.1, 4.2, 5.0, 5.1, 5.2}
27-
python-version {3.11}, django-version {4.1, 4.2, 5.0, 5.1, 5.2}
26+
python-version {3.10}, django-version {4.2, 5.0, 5.1, 5.2}
27+
python-version {3.11}, django-version {4.2, 5.0, 5.1, 5.2}
2828
python-version {3.12}, django-version {4.2, 5.0, 5.1, 5.2, 6.0}
2929
python-version {3.13}, django-version {5.1, 5.2, 6.0}
3030
python-version {3.14}, django-version {5.2, 6.0}

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ classifiers = [
2323
"Development Status :: 5 - Production/Stable",
2424
"Environment :: Web Environment",
2525
"Framework :: Django",
26-
"Framework :: Django :: 4.0",
27-
"Framework :: Django :: 4.1",
2826
"Framework :: Django :: 4.2",
2927
"Framework :: Django :: 5.0",
3028
"Framework :: Django :: 5.1",
@@ -43,6 +41,7 @@ classifiers = [
4341
"Topic :: Software Development :: Build Tools",
4442
]
4543
dependencies = [
44+
"django >= 4.2",
4645
"python-fsutil >= 0.16.0, < 1.0.0",
4746
]
4847
dynamic = ["version"]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
django >= 2.2
1+
django >= 4.2
22
python-fsutil == 0.16.0

tox.ini

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
3-
py310-{dj40,dj41,dj42,dj50,dj51,dj52},
4-
py311-{dj41,dj42,dj50,dj51,dj52},
3+
py310-{dj42,dj50,dj51,dj52},
4+
py311-{dj42,dj50,dj51,dj52},
55
py312-{dj42,dj50,dj51,dj52,dj60},
66
py313-{dj51,dj52,dj60},
77
py314-{dj52,dj60},
@@ -18,8 +18,6 @@ python =
1818
passenv = CI,GITHUB_WORKFLOW
1919

2020
deps =
21-
dj40: Django == 4.0.*
22-
dj41: Django == 4.1.*
2321
dj42: Django == 4.2.*
2422
dj50: Django == 5.0.*
2523
dj51: Django == 5.1.*

0 commit comments

Comments
 (0)