Skip to content

Commit 33fb726

Browse files
drop support for Django 5.0 (#99)
1 parent 0f389b0 commit 33fb726

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
2929
- Bumped PyO3 to 0.24.
3030
- **Internal**: Renamed template parsing crate to `djls-templates`
3131

32+
### Removed
33+
34+
- Dropped support for 5.0.
35+
3236
## [5.1.0a2]
3337

3438
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cog.outl(f"![Django Version](https://img.shields.io/badge/django-{'%20%7C%20'.jo
1313
]]] -->
1414
[![PyPI](https://img.shields.io/pypi/v/django-language-server)](https://pypi.org/project/django-language-server/)
1515
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-language-server)
16-
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.0%20%7C%205.1%20%7C%205.2%20%7C%20main-%2344B78B?labelColor=%23092E20)
16+
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.1%20%7C%205.2%20%7C%20main-%2344B78B?labelColor=%23092E20)
1717
<!-- [[[end]]] -->
1818

1919
A language server for the Django web framework.
@@ -66,7 +66,7 @@ cog.outl(f"- Python {', '.join([version for version in PY_VERSIONS])}")
6666
cog.outl(f"- Django {', '.join([version for version in DJ_VERSIONS if version != 'main'])}")
6767
]]] -->
6868
- Python 3.9, 3.10, 3.11, 3.12, 3.13
69-
- Django 4.2, 5.0, 5.1, 5.2
69+
- Django 4.2, 5.1, 5.2
7070
<!-- [[[end]]] -->
7171

7272
See the [Versioning](#versioning) section for details on how this project's version indicates Django compatibility.

noxfile.py

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

2929
DJ42 = "4.2"
30-
DJ50 = "5.0"
3130
DJ51 = "5.1"
3231
DJ52 = "5.2"
3332
DJMAIN = "main"
3433
DJMAIN_MIN_PY = PY312
35-
DJ_VERSIONS = [DJ42, DJ50, DJ51, DJ52, DJMAIN]
34+
DJ_VERSIONS = [DJ42, DJ51, DJ52, DJMAIN]
3635
DJ_LTS = [
3736
version for version in DJ_VERSIONS if version.endswith(".2") and version != DJMAIN
3837
]
@@ -60,10 +59,6 @@ def should_skip(python: str, django: str) -> bool:
6059
# Django 5.1 requires Python 3.10+
6160
return True
6261

63-
if django == DJ50 and version(python) < version(PY310):
64-
# Django 5.0 requires Python 3.10+
65-
return True
66-
6762
return False
6863

6964

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ classifiers = [
3636
# cog.outl(f' "Framework :: Django :: {version}",')
3737
# ]]] -->
3838
"Framework :: Django :: 4.2",
39-
"Framework :: Django :: 5.0",
4039
"Framework :: Django :: 5.1",
4140
"Framework :: Django :: 5.2",
4241
# [[[end]]]

0 commit comments

Comments
 (0)