Skip to content

Commit 5daf47e

Browse files
drop support for Django 5.0 (#211)
* drop support for Django 5.0 * update changelog * oops
1 parent 2ce122e commit 5daf47e

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
1818

1919
## [Unreleased]
2020

21+
### Removed
22+
23+
- Dropped support for Django 5.0.
24+
2125
## [0.5.0]
2226

2327
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ It consists of two parts:
2020
## Requirements
2121

2222
- Python 3.8, 3.9, 3.10, 3.11, 3.12
23-
- Django 3.2, 4.2, 5.0
23+
- Django 4.2, 5.1, 5.2
2424

2525
## Getting Started
2626

noxfile.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
PY_LATEST = PY_VERSIONS[-1]
1818

1919
DJ42 = "4.2"
20-
DJ50 = "5.0"
2120
DJ51 = "5.1"
2221
DJ52 = "5.2"
2322
DJMAIN = "main"
2423
DJMAIN_MIN_PY = PY312
25-
DJ_VERSIONS = [DJ42, DJ50, DJ51, DJMAIN]
24+
DJ_VERSIONS = [DJ42, DJ51, DJ52, DJMAIN]
2625
DJ_LTS = [
2726
version for version in DJ_VERSIONS if version.endswith(".2") and version != DJMAIN
2827
]
@@ -50,10 +49,6 @@ def should_skip(python: str, django: str) -> bool:
5049
# Django 5.1 requires Python 3.10+
5150
return True
5251

53-
if django == DJ50 and version(python) < version(PY310):
54-
# Django 5.0 requires Python 3.10+
55-
return True
56-
5752
return False
5853

5954

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ classifiers = [
88
"Development Status :: 4 - Beta",
99
"Framework :: Django",
1010
"Framework :: Django :: 4.2",
11-
"Framework :: Django :: 5.0",
1211
"Framework :: Django :: 5.1",
1312
"Framework :: Django :: 5.2",
1413
"License :: OSI Approved :: MIT License",

0 commit comments

Comments
 (0)