django22: declare django2.2 in setup and tox (#51146)

This commit is contained in:
Nicolas Roche 2021-02-15 19:22:57 +01:00
parent 04346a9d13
commit 6e02f79fb7
2 changed files with 4 additions and 2 deletions

View File

@ -108,7 +108,7 @@ setup(
'Programming Language :: Python',
'Programming Language :: Python :: 2',
],
install_requires=['django>=1.8, <2', 'pyproj', 'requests'],
install_requires=['django>=1.11, <2.3', 'pyproj', 'requests'],
zip_safe=False,
cmdclass={
'build': build,

View File

@ -1,5 +1,5 @@
[tox]
envlist = py3-black-junit-coverage
envlist = py3-django111-black-junit-coverage,py3-django22
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-montpellier-sig/{env:BRANCH_NAME:}
[testenv]
@ -14,6 +14,8 @@ setenv =
coverage: COVERAGE=--cov-report xml --cov-report html --cov=passerelle_montpellier_sig/
junit: JUNIT=--junitxml=junit-{envname}.xml
deps =
django111: django>=1.11, <1.12
django22: django>=2.2, <2.3
https://git.entrouvert.org/passerelle.git/snapshot/passerelle-main.tar.gz
psycopg2-binary
httmock