From a27a259ac7e6eb54783002d4cb6bb39a46a3cf16 Mon Sep 17 00:00:00 2001 From: Jillian Vogel Date: Thu, 23 May 2024 13:28:31 +0930 Subject: [PATCH] build: resolve drf dependency issue in tox Error was with django42-drf314: ERROR: Cannot install djangorestframework<3.15.0 and djangorestframework==3.15.1 because these package versions have conflicting dependencies --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d9d9027..c4785c6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,311,312}-django{42}-drf{drf314}, quality, docs +envlist = py{38,311,312}-django{42}-drf{315,latest}, quality, docs [testenv] setenv = @@ -7,7 +7,8 @@ setenv = deps = -r{toxinidir}/requirements/test.txt django42: Django>=4.2,<4.3 - drf314: djangorestframework<3.15.0 + drf315: djangorestframework<3.16 + drflatest: djangorestframework commands = python -Wd -m pytest {posargs}