ci: test against Django 3.2 (#75510)
gitea/authentic2-wallonie-connect/pipeline/head There was a failure building this commit Details

This commit is contained in:
Valentin Deniaud 2023-03-16 12:26:28 +01:00
parent ad992dc7bb
commit beb6d259d2
1 changed files with 8 additions and 13 deletions

21
tox.ini
View File

@ -6,14 +6,12 @@
[tox] [tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic2-wallonie-connect/{env:BRANCH_NAME:} toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic2-wallonie-connect/{env:BRANCH_NAME:}
envlist = envlist =
py3-dj22-drf39-djfilter21 py3-dj32
py3-dj22-drf312-djfilter24
[tox:jenkins] [tox:jenkins]
envlist = envlist =
pylint pylint
py3-dj22-drf39-djfilter21 py3-dj32
py3-dj22-drf312-djfilter24
[testenv] [testenv]
setenv = setenv =
@ -35,14 +33,11 @@ deps =
pip > 9 pip > 9
https://git.entrouvert.org/entrouvert/authentic/archive/main.tar.gz https://git.entrouvert.org/entrouvert/authentic/archive/main.tar.gz
# dependency constraints for authentic # dependency constraints for authentic
drf39: djangorestframework>=3.9.2,<3.10 djangorestframework>=3.12,<3.13
drf39: Markdown<3.4 django<3.3
drf312: djangorestframework>=3.12,<3.13 django-tables2==2.4.1
django<2.3 psycopg2-binary
django-tables<2.0 django-filter
psycopg2-binary<2.9
djfilter21: django-filter>=2.1,<2.2
djfilter24: django-filter>=2.4,<2.5
chardet<4 chardet<4
# pytest requirements # pytest requirements
@ -60,7 +55,7 @@ commands =
usedevelop = true usedevelop = true
deps = deps =
https://git.entrouvert.org/entrouvert/authentic/archive/main.tar.gz https://git.entrouvert.org/entrouvert/authentic/archive/main.tar.gz
django<2.3 django<3.3
pylint pylint
pylint-django pylint-django
psycopg2-binary psycopg2-binary