enable django 3.2 testing in tox file (#68025)

This commit is contained in:
Agate 2022-08-09 09:59:17 +02:00
parent 5612c16b8f
commit 7c4ea5104a
2 changed files with 9 additions and 4 deletions

View File

@ -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',

11
tox.ini
View File

@ -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 =