Skip to content

Commit 4964f56

Browse files
authored
Tests: Update to Django 6.0; fall back to 5.2 on Python <3.12 (#887)
1 parent e2b0e1a commit 4964f56

File tree

2 files changed

+40
-10
lines changed

2 files changed

+40
-10
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ dev = [
4646
"pytest==9.0.2",
4747
"pytest-mypy-plugins==3.2.0",
4848
"djangorestframework==3.16.1",
49-
"django==5.2.*",
49+
"django==5.2.*; python_version < '3.12'",
50+
"django==6.0.*; python_version >= '3.12'",
5051
"types-pytz==2025.2.0.20251108",
5152
"types-requests==2.32.4.20250913",
5253
"types-urllib3==1.26.25.14",

uv.lock

Lines changed: 38 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)