mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-04 01:10:42 +00:00
drop support for Django 5.0 (#99)
Some checks failed
lint / pre-commit (push) Waiting to run
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 4s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:ppc64le]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:s390x]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / test (push) Has been skipped
release / windows (map[runner:windows-latest target:x64]) (push) Has been cancelled
release / windows (map[runner:windows-latest target:x86]) (push) Has been cancelled
release / macos (map[runner:macos-13 target:x86_64]) (push) Has been cancelled
release / macos (map[runner:macos-14 target:aarch64]) (push) Has been cancelled
release / sdist (push) Has been cancelled
release / release (push) Has been cancelled
Some checks failed
lint / pre-commit (push) Waiting to run
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 4s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:ppc64le]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:s390x]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / test (push) Has been skipped
release / windows (map[runner:windows-latest target:x64]) (push) Has been cancelled
release / windows (map[runner:windows-latest target:x86]) (push) Has been cancelled
release / macos (map[runner:macos-13 target:x86_64]) (push) Has been cancelled
release / macos (map[runner:macos-14 target:aarch64]) (push) Has been cancelled
release / sdist (push) Has been cancelled
release / release (push) Has been cancelled
This commit is contained in:
parent
0f389b01bf
commit
33fb726bdc
4 changed files with 7 additions and 9 deletions
|
@ -29,6 +29,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
|
|||
- Bumped PyO3 to 0.24.
|
||||
- **Internal**: Renamed template parsing crate to `djls-templates`
|
||||
|
||||
### Removed
|
||||
|
||||
- Dropped support for 5.0.
|
||||
|
||||
## [5.1.0a2]
|
||||
|
||||
### Added
|
||||
|
|
|
@ -13,7 +13,7 @@ cog.outl(f"](https://pypi.org/project/django-language-server/)
|
||||

|
||||

|
||||

|
||||
<!-- [[[end]]] -->
|
||||
|
||||
A language server for the Django web framework.
|
||||
|
@ -66,7 +66,7 @@ cog.outl(f"- Python {', '.join([version for version in PY_VERSIONS])}")
|
|||
cog.outl(f"- Django {', '.join([version for version in DJ_VERSIONS if version != 'main'])}")
|
||||
]]] -->
|
||||
- Python 3.9, 3.10, 3.11, 3.12, 3.13
|
||||
- Django 4.2, 5.0, 5.1, 5.2
|
||||
- Django 4.2, 5.1, 5.2
|
||||
<!-- [[[end]]] -->
|
||||
|
||||
See the [Versioning](#versioning) section for details on how this project's version indicates Django compatibility.
|
||||
|
|
|
@ -27,12 +27,11 @@ PY_DEFAULT = PY_VERSIONS[0]
|
|||
PY_LATEST = PY_VERSIONS[-1]
|
||||
|
||||
DJ42 = "4.2"
|
||||
DJ50 = "5.0"
|
||||
DJ51 = "5.1"
|
||||
DJ52 = "5.2"
|
||||
DJMAIN = "main"
|
||||
DJMAIN_MIN_PY = PY312
|
||||
DJ_VERSIONS = [DJ42, DJ50, DJ51, DJ52, DJMAIN]
|
||||
DJ_VERSIONS = [DJ42, DJ51, DJ52, DJMAIN]
|
||||
DJ_LTS = [
|
||||
version for version in DJ_VERSIONS if version.endswith(".2") and version != DJMAIN
|
||||
]
|
||||
|
@ -60,10 +59,6 @@ def should_skip(python: str, django: str) -> bool:
|
|||
# Django 5.1 requires Python 3.10+
|
||||
return True
|
||||
|
||||
if django == DJ50 and version(python) < version(PY310):
|
||||
# Django 5.0 requires Python 3.10+
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ classifiers = [
|
|||
# cog.outl(f' "Framework :: Django :: {version}",')
|
||||
# ]]] -->
|
||||
"Framework :: Django :: 4.2",
|
||||
"Framework :: Django :: 5.0",
|
||||
"Framework :: Django :: 5.1",
|
||||
"Framework :: Django :: 5.2",
|
||||
# [[[end]]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue