ease upper limitation on django-filter version (#59602)

This commit is contained in:
Paul Marillonnet 2021-12-16 08:58:06 +01:00
parent b7153ce5ff
commit 15255e8b81
3 changed files with 5 additions and 3 deletions

2
debian/control vendored
View File

@ -10,7 +10,7 @@ Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
python3-django (>= 1.10),
python3-django-filters (>= 1),
python3-django-filters (<< 2.2),
python3-django-filters (<< 2.5),
python3-django-tables2,
python3-gadjo,
python3-magic,

View File

@ -112,7 +112,7 @@ setup(
'gadjo',
'django-tables2>=1.5,<2.0',
'django-jsonfield >= 0.9.3',
'django-filter>1,<2.2',
'django-filter>1,<2.5',
'djangorestframework>=3.4,<3.10',
'file-magic',
'requests',

View File

@ -1,6 +1,6 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/fargo/{env:BRANCH_NAME:}
envlist = py3-dj22-{sqlite,pg}-black-coverage-pylint
envlist = py3-dj22-sqlite,py3-dj22-pg-djfilter2{1,4-black-coverage-pylint}
[testenv]
usedevelop = True
@ -19,6 +19,8 @@ deps =
pylint
pylint-django
dj22: django>=2.2,<2.3
djfilter21: django-filter>=2.1,<2.2
djfilter24: django-filter>=2.4,<2.5
pytest-cov
pytest-random
pytest-mock