From 6b4e71032d42db2bf34fa4130ff3f4b2ec135f69 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 10 Jan 2023 18:32:30 +0100 Subject: [PATCH] dj32: run tests with django 3.2 (#72942) --- setup.py | 2 +- tox.ini | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 3f9bb2c..550c3b4 100644 --- a/setup.py +++ b/setup.py @@ -120,7 +120,7 @@ setup( 'Programming Language :: Python', ], install_requires=[ - 'django>=1.8,<2.3', + 'django>=1.8,<4', 'django-jsonfield', 'djangorestframework>=3.3', 'requests', diff --git a/tox.ini b/tox.ini index 90f149f..14e2804 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/petale/ envlist = - py3-dj22-drf39 + py3-dj22 + py3-dj32 code-style check-migrations @@ -10,7 +11,7 @@ envlist = pylint code-style check-migrations - py3-dj22-drf39 + py3-dj22 [testenv] usedevelop=true @@ -30,6 +31,7 @@ passenv= PGPASSWORD deps = dj22: django>=2.2,<2.3 + dj32: django>=3.2,<3.3 pytest-cov pytest-django pytest