Skip to content

Commit 585ca47

Browse files
authored
tests(django): Pin django_hosts and djangorestframework test suites (DataDog#3051)
1 parent d118890 commit 585ca47

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

riotfile.py

+20-2
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,19 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
530530
"django": [
531531
"~=2.2",
532532
"~=3.2",
533-
latest,
534533
],
535534
},
536535
),
536+
# TODO: Add support for Django 4.0 in tests
537+
# Venv(
538+
# pys=select_pys(min_version="3.8"),
539+
# pkgs={
540+
# "django": [
541+
# "~=4.0",
542+
# latest,
543+
# ],
544+
# },
545+
# ),
537546
],
538547
),
539548
Venv(
@@ -567,11 +576,20 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
567576
Venv(
568577
pys=select_pys(min_version="3.6"),
569578
pkgs={
570-
"django": latest,
579+
"django": "~=3.2",
571580
"djangorestframework": ">=3.11,<3.12",
572581
"pytest-django": "==3.10.0",
573582
},
574583
),
584+
# TODO: Add support for Django 4.0 in tests
585+
# Venv(
586+
# pys=select_pys(min_version="3.8"),
587+
# pkgs={
588+
# "django": latest,
589+
# "djangorestframework": ">=3.11,<3.12",
590+
# "pytest-django": "==3.10.0",
591+
# },
592+
# ),
575593
],
576594
),
577595
Venv(

0 commit comments

Comments
 (0)