From b9f1ea60a0a592dfa7930de890bf32bedceafee1 Mon Sep 17 00:00:00 2001 From: Paul Marillonnet Date: Tue, 21 Dec 2021 11:44:38 +0100 Subject: [PATCH] tox: add test env with djangorestframework 3.12 (#59962) --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b17f8c5..0f88585 100644 --- a/tox.ini +++ b/tox.ini @@ -6,12 +6,12 @@ [tox] toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic2-cut/{env:BRANCH_NAME:} envlist = - py3-dj22-drf39 + py3-dj22-drf3{9,12} [tox:jenkins] envlist = pylint - py3-dj22-drf39 + py3-dj22-drf3{9,12} [testenv] @@ -35,6 +35,7 @@ deps = # dependency constraints for authentic py3: file-magic drf39: djangorestframework>=3.9.2,<3.10 + drf312: djangorestframework>=3.12,<3.13 dj22: django<2.3 django-tables<2.0 psycopg2-binary<2.9