Django 6.0 support (#307)

* Remove upper bound on Django version.

This allows it to be installed alongside Django 6 and later.

See https://iscinumpy.dev/post/bound-version-constraints/

* Run tests on Django 6.0 / Python 3.12
This commit is contained in:
Luke Plant
2025-12-04 16:15:18 +00:00
committed by GitHub
parent 09e65da5b3
commit 0054535624
3 changed files with 10 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ jobs:
- "5.0"
- "5.1"
- "5.2"
- "6.0"
exclude:
# django 5.2 does not support 3.9
- python-version: "3.9"
@@ -49,6 +50,13 @@ jobs:
# django 4.2 does not support 3.13
- python-version: "3.13"
django: "4.2"
# django 6.0 does not support earlier than 3.12
- python-version: "3.9"
django: "6.0"
- python-version: "3.10"
django: "6.0"
- python-version: "3.11"
django: "6.0"
services:
mongodb:

View File

@@ -41,7 +41,7 @@ Requirements
Tested with:
* Python 3.9 to 3.13.
* Django 4.2 to 5.2.
* Django 4.2 to 6.0.
Brokers
~~~~~~~

View File

@@ -53,7 +53,7 @@ include = [
[tool.poetry.dependencies]
python = ">=3.9,<4"
django = ">=4.2, <6"
django = ">=4.2"
django-picklefield = "^3.1"
blessed = { version = "^1.19.1", optional = true }