enabled django 3.2 testing in tox file (#68060)

This commit is contained in:
Agate 2022-08-09 15:35:00 +02:00
parent f0c32435c6
commit 3d9481f67d
2 changed files with 9 additions and 6 deletions

View File

@ -108,11 +108,11 @@ setup(
'Programming Language :: Python',
],
install_requires=[
'django>=2.2,<2.3',
'django>=2.2,<3.3',
'gadjo',
'django-ckeditor<4.5.4',
'django-haystack<2.8',
'django-taggit',
'django-haystack<3.2',
'django-taggit<3',
'djangorestframework>=3.3,<3.13',
'requests',
'whoosh',

View File

@ -1,7 +1,8 @@
[tox]
envlist =
py3-django22-black-coverage-pylint-drf39
py3-django22-black-coverage-pylint-drf312
py3-django22-drf39
py3-django22-drf312
py3-django32-black-coverage-pylint-drf312
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
[testenv]
@ -15,6 +16,8 @@ setenv =
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=welco/
deps =
django22: django>=2.2,<2.3
django32: django>=3.2,<3.3
django22: django-haystack<2.8
pytest-cov
pytest-django
pytest!=5.3.3
@ -29,7 +32,7 @@ deps =
lxml
git+https://git.entrouvert.org/debian/django-ckeditor.git
black: pre-commit
drf39: djangorestframework>=3.9.2,<3.10
drf39: djangorestframework>=3.9,<3.10
drf312: djangorestframework>=3.12,<3.13
commands =
pylint: ./pylint.sh welco/