Skip to content

Commit fe83cee

Browse files
tests(django): Pin django_hosts and djangorestframework test suites (#3051) (#3052)
(cherry picked from commit 585ca47) Co-authored-by: Brett Langdon <[email protected]>
1 parent 9c793c4 commit fe83cee

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

riotfile.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,19 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
517517
"django": [
518518
"~=2.2",
519519
"~=3.2",
520-
latest,
521520
],
522521
},
523522
),
523+
# TODO: Add support for Django 4.0 in tests
524+
# Venv(
525+
# pys=select_pys(min_version="3.8"),
526+
# pkgs={
527+
# "django": [
528+
# "~=4.0",
529+
# latest,
530+
# ],
531+
# },
532+
# ),
524533
],
525534
),
526535
Venv(
@@ -554,11 +563,20 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
554563
Venv(
555564
pys=select_pys(min_version="3.6"),
556565
pkgs={
557-
"django": latest,
566+
"django": "~=3.2",
558567
"djangorestframework": ">=3.11,<3.12",
559568
"pytest-django": "==3.10.0",
560569
},
561570
),
571+
# TODO: Add support for Django 4.0 in tests
572+
# Venv(
573+
# pys=select_pys(min_version="3.8"),
574+
# pkgs={
575+
# "django": latest,
576+
# "djangorestframework": ">=3.11,<3.12",
577+
# "pytest-django": "==3.10.0",
578+
# },
579+
# ),
562580
],
563581
),
564582
Venv(

0 commit comments

Comments
 (0)