From 7c4ea5104ad753a051cae0f7e8b64e1dd5133bf4 Mon Sep 17 00:00:00 2001 From: Agate Berriot Date: Tue, 9 Aug 2022 09:59:17 +0200 Subject: [PATCH 1/2] enable django 3.2 testing in tox file (#68025) --- setup.py | 2 +- tox.ini | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 9b6f00e..414cfa2 100644 --- a/setup.py +++ b/setup.py @@ -159,7 +159,7 @@ setup( 'Programming Language :: Python :: 3', ], install_requires=[ - 'django>=2.2, <2.3', + 'django>=2.2, <3.3', 'gadjo', 'djangorestframework>=3.4', 'django-filter', diff --git a/tox.ini b/tox.ini index 7582e70..68afa13 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,8 @@ [tox] -envlist = py3-django22-codestyle-coverage, pylint +envlist = + py3-django22-codestyle-coverage, + py3-django32, + pylint toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:} [testenv] @@ -26,10 +29,12 @@ deps = django-webtest pytz pyquery - django22: django-mellon>=1.6.1 + django-mellon>=1.6.1 pytest-freezegun django22: django>=2.2,<2.3 - psycopg2-binary<2.9 + django22: psycopg2-binary<2.9 + django32: django>=3.2,<3.3 + django32: psycopg2-binary>=2.9 codestyle: pre-commit git+https://git.entrouvert.org/publik-django-templatetags.git commands = -- 2.36.1