Enabled django 3.2 testing in tox file (#67945)

This commit is contained in:
Agate 2022-08-04 14:25:56 +02:00
parent 5227e00c82
commit b2cb4d9b2c
2 changed files with 17 additions and 8 deletions

View File

@ -160,11 +160,11 @@ setup(
'Programming Language :: Python :: 3',
],
install_requires=[
'django>=2.2, <2.3',
'django>=2.2, <3.2',
'gadjo>=0.53',
'requests',
'eopayment>=1.60',
'djangorestframework>=3.3, <3.10',
'djangorestframework>=3.3, <3.13',
],
zip_safe=False,
cmdclass={

21
tox.ini
View File

@ -1,6 +1,9 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/lingo/{env:BRANCH_NAME:}
envlist = coverage-py3-django22-codestyle, pylint
envlist =
py3-django32,
coverage-py3-django22-codestyle,
pylint
[testenv]
usedevelop = True
@ -14,6 +17,7 @@ setenv =
passenv =
BRANCH_NAME
deps =
django32: django>=3.2,<3.3
django22: django>=2.2,<2.3
pytest-cov
pytest-django
@ -24,9 +28,11 @@ deps =
httmock
pylint
pylint-django
django-webtest<1.9.3
django32: django-webtest
django22: django-webtest<1.9.3
pyquery
psycopg2-binary<2.9
django32: psycopg2-binary
django22: psycopg2-binary<2.9
django-mellon>=1.13
git+https://git.entrouvert.org/publik-django-templatetags.git
pre-commit
@ -49,13 +55,16 @@ deps =
WebTest
mock<4
httmock
django>=2.2,<2.3
django32: django>=3.2,<3.3
django22: django>=2.2,<2.3
django-mellon>=1.13
pylint
pylint-django
django-webtest<1.9.3
django32: django-webtest
django22: django-webtest<1.9.3
pyquery
psycopg2-binary<2.9
django32: psycopg2-binary
django22: psycopg2-binary<2.9
git+https://git.entrouvert.org/publik-django-templatetags.git
commands =
./getlasso3.sh