0001-Enabled-django-3.2-testing-in-tox-file-68060.patch
setup.py | ||
---|---|---|
108 | 108 |
'Programming Language :: Python', |
109 | 109 |
], |
110 | 110 |
install_requires=[ |
111 |
'django>=2.2,<2.3',
|
|
111 |
'django>=2.2,<3.3',
|
|
112 | 112 |
'gadjo', |
113 | 113 |
'django-ckeditor<4.5.4', |
114 |
'django-haystack<2.8',
|
|
115 |
'django-taggit', |
|
114 |
'django-haystack<3.2',
|
|
115 |
'django-taggit<3',
|
|
116 | 116 |
'djangorestframework>=3.3,<3.13', |
117 | 117 |
'requests', |
118 | 118 |
'whoosh', |
tox.ini | ||
---|---|---|
1 | 1 |
[tox] |
2 | 2 |
envlist = |
3 |
py3-django22-black-coverage-pylint-drf39
|
|
4 |
py3-django22-black-coverage-pylint-drf312
|
|
3 |
py3-django22-drf39
|
|
4 |
py3-django32-black-coverage-pylint-drf312
|
|
5 | 5 |
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:} |
6 | 6 | |
7 | 7 |
[testenv] |
... | ... | |
15 | 15 |
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=welco/ |
16 | 16 |
deps = |
17 | 17 |
django22: django>=2.2,<2.3 |
18 |
django32: django>=3.2,<3.3 |
|
19 |
django22: django-haystack<2.8 |
|
18 | 20 |
pytest-cov |
19 | 21 |
pytest-django |
20 | 22 |
pytest!=5.3.3 |
... | ... | |
29 | 31 |
lxml |
30 | 32 |
git+https://git.entrouvert.org/debian/django-ckeditor.git |
31 | 33 |
black: pre-commit |
32 |
drf39: djangorestframework>=3.9.2,<3.10
|
|
34 |
drf39: djangorestframework>=3.9,<3.10 |
|
33 | 35 |
drf312: djangorestframework>=3.12,<3.13 |
34 | 36 |
commands = |
35 | 37 |
pylint: ./pylint.sh welco/ |
36 |
py.test {env:COVERAGE:} {posargs:tests/} |
|
38 |
py.test -p no:warnings {env:COVERAGE:} {posargs:tests/}
|
|
37 | 39 |
black: pre-commit run black --all-files --show-diff-on-failure |
38 |
- |