0001-Enabled-django-3.2-testing-in-tox-file.patch
setup.py | ||
---|---|---|
94 | 94 |
include_package_data=True, |
95 | 95 |
install_requires=[ |
96 | 96 |
'requests', |
97 |
'django>=2.2, <2.3',
|
|
97 |
'django>=2.2, <3.3',
|
|
98 | 98 |
'psycopg2', |
99 | 99 |
'isodate', |
100 | 100 |
'Django-Select2<6', |
tox.ini | ||
---|---|---|
6 | 6 |
[tox] |
7 | 7 |
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bijoe/{env:BRANCH_NAME:} |
8 | 8 |
envlist = |
9 |
py3-dj22 |
|
9 |
py3-django22, |
|
10 |
py3-django32, |
|
10 | 11 |
code-style |
11 | 12 | |
12 | 13 |
[testenv:code-style] |
... | ... | |
24 | 25 |
SETUPTOOLS_USE_DISTUTILS=stdlib |
25 | 26 |
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml --cov-report html --cov-config .coveragerc |
26 | 27 |
deps = |
27 |
dj22: django>=2.2,<2.3 |
|
28 |
django22: django>=2.2,<2.3 |
|
29 |
django32: django>=3.2,<3.3 |
|
28 | 30 |
coverage |
29 | 31 |
pytest |
30 | 32 |
pytest-cov |
31 | 33 |
pytest-django |
32 | 34 |
pytest-freezegun |
33 | 35 |
WebTest |
34 |
django-webtest<1.9.3 |
|
36 |
django32: django-webtest |
|
37 |
django22: django-webtest<1.9.3 |
|
35 | 38 |
mock |
36 | 39 |
pyquery |
37 | 40 |
tabulate |
38 | 41 |
sentry_sdk<0.12.3 |
39 |
psycopg2<2.9 |
|
40 |
psycopg2-binary<2.9 |
|
41 |
dj22: djangorestframework>=3.7 |
|
42 |
dj22: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz |
|
42 |
django32: psycopg2 |
|
43 |
django22: psycopg2<2.9 |
|
44 |
django32: psycopg2-binary |
|
45 |
django22: psycopg2-binary<2.9 |
|
46 | ||
47 |
django22,django32: djangorestframework>=3.7 |
|
48 |
django22,django32: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz |
|
43 | 49 |
commands = |
44 |
py3-dj22: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
|
|
50 |
py3-django22,py3-django32: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
|
|
45 | 51 | |
46 | 52 |
[pytest] |
47 | 53 |
filterwarnings = |
48 |
- |