Projet

Général

Profil

0008-django22-declare-django2.2-in-setup-and-tox-49188.patch

Lauréline Guérin, 15 décembre 2020 16:43

Télécharger (1,31 ko)

Voir les différences:

Subject: [PATCH 08/10] django22: declare django2.2 in setup and tox (#49188)

 setup.py | 2 +-
 tox.ini  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
setup.py
98 98
        scripts=['manage.py'],
99 99
        include_package_data=True,
100 100
        install_requires=[
101
            'django >= 1.8, <1.12',
101
            'django >= 1.11, <2.3',
102 102
            'django-model-utils<4',
103 103
            'requests',
104 104
            'gadjo',
tox.ini
1 1
[tox]
2 2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle/{env:BRANCH_NAME:}
3
envlist = py3-django111-coverage
3
envlist = py3-django111-coverage,py3-django22
4 4

  
5 5
[testenv]
6 6
usedevelop = True
......
14 14
  coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=passerelle/ --cov-config .coveragerc -Wignore
15 15
deps =
16 16
  django111: django>=1.11,<1.12
17
  django22: django>=2.2,<2.3
17 18
  psycopg2-binary
18 19
  pytest-cov
19 20
  pytest-django
20
-