From 2d628bff1cdf47bf127ed0db2784b33d1688da9a Mon Sep 17 00:00:00 2001 From: Agate Date: Thu, 28 Jul 2022 09:38:38 +0200 Subject: [PATCH 1/7] Enabled django 3.2 testing in tox file --- setup.py | 2 +- tox.ini | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 080a783..be1ceb5 100644 --- a/setup.py +++ b/setup.py @@ -149,7 +149,7 @@ setup( 'Programming Language :: Python', ], install_requires=[ - 'django>=2.2, <2.3', + 'django>=2.2, <3.3', 'gadjo', 'celery<4' if sys.version_info < (3, 7) else 'celery>=4', 'django-mellon', diff --git a/tox.ini b/tox.ini index 1db8b7e..08a7aa1 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,7 @@ deps: drf39: djangorestframework>=3.9.2,<3.10 drf312: djangorestframework>=3.12,<3.13 django22: django>=2.2,<2.3 + django32: django>=3.2,<3.3 pytest!=6.0.0 pytest-cov pytest-django @@ -47,7 +48,8 @@ deps: django-mellon django-webtest Markdown<3 - django-tables2<2.0 + django22: django-tables2<2.0 + django32: django-tables2>=2.4<2.5 authentic: https://git.entrouvert.org/authentic.git/snapshot/authentic-main.tar.gz passerelle: https://git.entrouvert.org/passerelle.git/snapshot/passerelle-main.tar.gz passerelle: python-memcached @@ -59,8 +61,11 @@ deps: pytest-freezegun xmlschema<1.1 enum34<=1.1.6 - psycopg2<2.9 - psycopg2-binary<2.9 + django32: psycopg2 + django32: psycopg2-binary + django22: psycopg2<2.9 + django22: psycopg2-binary<2.9 + black: pre-commit commands = ./getlasso3.sh -- 2.36.1