Projet

Général

Profil

0001-test-against-Django-2.2-51516.patch

Benjamin Dauvergne, 01 mars 2021 15:06

Télécharger (1,1 ko)

Voir les différences:

Subject: [PATCH 1/9] test against Django 2.2 (#51516)

 setup.py | 2 +-
 tox.ini  | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
setup.py
107 107
        'Programming Language :: Python :: 2',
108 108
    ],
109 109
    install_requires=[
110
        'django>=1.10,<2',
110
        'django<2.3',
111 111
        'isodate',
112 112
        'psycopg2',
113 113
        'jsonschema',
tox.ini
5 5

  
6 6
[tox]
7 7
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:}
8
envlist = py3-coverage
8
envlist = py3-{dj111,dj22}-coverage
9 9

  
10 10
[testenv]
11 11
# django.contrib.auth is not tested it does not work with our templates
......
21 21
  coverage: True
22 22
  nocoverage: False
23 23
deps = 
24
  dj111: django<2
25
  dj22: django<2.3
24 26
  pip>8
25 27
  pytest-flakes
26 28
  pg: psycopg2
27
-