Project

General

Profile

0001-Enabled-django-3.2-testing-in-tox-file-67945.patch

Agate Berriot, 04 August 2022 03:02 PM

Download (2.07 KB)

View differences:

Subject: [PATCH 1/2] Enabled django 3.2 testing in tox file (#67945)

 setup.py |  4 ++--
 tox.ini  | 21 +++++++++++++++------
 2 files changed, 17 insertions(+), 8 deletions(-)
setup.py
160 160
        'Programming Language :: Python :: 3',
161 161
    ],
162 162
    install_requires=[
163
        'django>=2.2, <2.3',
163
        'django>=2.2, <3.2',
164 164
        'gadjo>=0.53',
165 165
        'requests',
166 166
        'eopayment>=1.60',
167
        'djangorestframework>=3.3, <3.10',
167
        'djangorestframework>=3.3, <3.13',
168 168
    ],
169 169
    zip_safe=False,
170 170
    cmdclass={
tox.ini
1 1
[tox]
2 2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/lingo/{env:BRANCH_NAME:}
3
envlist = coverage-py3-django22-codestyle, pylint
3
envlist =
4
  py3-django32,
5
  coverage-py3-django22-codestyle,
6
  pylint
4 7

  
5 8
[testenv]
6 9
usedevelop = True
......
14 17
passenv =
15 18
  BRANCH_NAME
16 19
deps =
20
  django32: django>=3.2,<3.3
17 21
  django22: django>=2.2,<2.3
18 22
  pytest-cov
19 23
  pytest-django
......
24 28
  httmock
25 29
  pylint
26 30
  pylint-django
27
  django-webtest<1.9.3
31
  django32: django-webtest
32
  django22: django-webtest<1.9.3
28 33
  pyquery
29
  psycopg2-binary<2.9
34
  django32: psycopg2-binary
35
  django22: psycopg2-binary<2.9
30 36
  django-mellon>=1.13
31 37
  git+https://git.entrouvert.org/publik-django-templatetags.git
32 38
  pre-commit
......
49 55
  WebTest
50 56
  mock<4
51 57
  httmock
52
  django>=2.2,<2.3
58
  django32: django>=3.2,<3.3
59
  django22: django>=2.2,<2.3
53 60
  django-mellon>=1.13
54 61
  pylint
55 62
  pylint-django
56
  django-webtest<1.9.3
63
  django32: django-webtest
64
  django22: django-webtest<1.9.3
57 65
  pyquery
58
  psycopg2-binary<2.9
66
  django32: psycopg2-binary
67
  django22: psycopg2-binary<2.9
59 68
  git+https://git.entrouvert.org/publik-django-templatetags.git
60 69
commands =
61 70
  ./getlasso3.sh
62
-