Skip to content

Commit b3171b5

Browse files
committed
CI: Use Django 5.2 or 6.0 depending on Python version
Affects `tests` dependency group only.
1 parent 52848dd commit b3171b5

File tree

2 files changed

+42
-11
lines changed

2 files changed

+42
-11
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ tests = [
4949
"pytest-shard==0.1.2",
5050
"pytest-xdist==3.8.0",
5151
# Django deps:
52-
"django==5.2.9",
52+
"django==5.2.9; python_version < '3.12'",
53+
"django==6.0; python_version >= '3.12'",
5354
"mysqlclient==2.2.7",
5455
"psycopg2-binary==2.9.11",
5556
"jinja2==3.1.6",

uv.lock

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

0 commit comments

Comments
 (0)