From a71993b73f19c1c01b051780dd5ae80c70751cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 3 Oct 2023 16:22:17 +0200 Subject: [PATCH] tox: run tests against djangorestframework 3.14 (#81950) --- setup.py | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index eba0f43..1b893e1 100644 --- a/setup.py +++ b/setup.py @@ -113,7 +113,7 @@ setup( 'django-ckeditor<4.5.4', 'django-haystack<3.2', 'django-taggit<3', - 'djangorestframework>=3.3,<3.13', + 'djangorestframework>=3.3,<3.15', 'requests', 'whoosh', 'XStatic-Select2', diff --git a/tox.ini b/tox.ini index 0fdf999..692fddd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] envlist = + py3-django32-drf314 py3-django32-black-coverage-pylint-drf312 toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:} @@ -29,8 +30,8 @@ deps = lxml git+https://git.entrouvert.org/debian/django-ckeditor.git black: pre-commit - drf39: djangorestframework>=3.9,<3.10 drf312: djangorestframework>=3.12,<3.13 + drf314: djangorestframework>=3.14,<3.15 commands = pylint: ./pylint.sh welco/ py.test {env:COVERAGE:} {posargs:tests/}