Skip to content

Commit 9b4b8fd

Browse files
Updated testing for Django 6.0. (#1730)
1 parent 1b07b3e commit 9b4b8fd

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1717

1818
steps:
1919
- uses: actions/checkout@v5

CHANGES.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Version 25.2 (UNRELEASED)
2+
-------------------------
3+
4+
* Added testing for Django 6.0.
5+
6+
* Dropped support for Django <5.2 LTS
7+
8+
* Dropped support for Python 3.9.
9+
110
Version 25.1 (2025-02-14)
211
-------------------------
312

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@ classifiers = [
1616
"License :: OSI Approved :: BSD License",
1717
"Operating System :: OS Independent",
1818
"Framework :: Django",
19-
"Framework :: Django :: 4.2",
20-
"Framework :: Django :: 5.0",
21-
"Framework :: Django :: 5.1",
2219
"Framework :: Django :: 5.2",
20+
"Framework :: Django :: 6.0",
2321
"Programming Language :: Python",
2422
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.9",
2623
"Programming Language :: Python :: 3.10",
2724
"Programming Language :: Python :: 3.11",
2825
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
2927
]
30-
requires-python = ">=3.9"
31-
dependencies = ["Django>=4.2"]
28+
requires-python = ">=3.10"
29+
dependencies = ["Django>=5.2"]
3230
dynamic = ["version"]
3331

3432
[project.optional-dependencies]

tox.ini

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[tox]
22
envlist =
3-
{py39, py310, py311, py312}-django42,
4-
{py310, py311, py312}-django50,
5-
{py310, py311, py312, py313}-django51,
63
{py310, py311, py312, py313}-django52,
4+
{py312, py313}-django60,
75
{py312, py313}-latest,
86
isort,lint,docs,warnings,
97
isolated_build = true
@@ -19,10 +17,8 @@ commands = coverage run --parallel-mode --source django_filters ./runtests.py --
1917
setenv =
2018
PYTHONDONTWRITEBYTECODE=1
2119
deps =
22-
django42: Django>=4.2,<5.0
23-
django50: Django>=5.0,<5.1
24-
django51: Django>=5.1,<5.2
25-
django52: Django>=5.2a1,<6.0
20+
django52: Django>=5.2,<6.0
21+
django60: Django>=6.0a1,<7.0
2622
!latest: djangorestframework
2723
latest: {[latest]deps}
2824
-r requirements/test-ci.txt

0 commit comments

Comments
 (0)