Projet

Général

Profil

0001-ease-upper-limitation-on-django-filter-version-59602.patch

Paul Marillonnet, 20 décembre 2021 16:45

Télécharger (1,71 ko)

Voir les différences:

Subject: [PATCH] ease upper limitation on django-filter version (#59602)

 debian/control | 2 +-
 setup.py       | 2 +-
 tox.ini        | 4 +++-
 3 files changed, 5 insertions(+), 3 deletions(-)
debian/control
10 10
Depends: ${misc:Depends}, ${python3:Depends},
11 11
    python3-django (>= 1.10),
12 12
    python3-django-filters (>= 1),
13
    python3-django-filters (<< 2.2),
13
    python3-django-filters (<< 2.5),
14 14
    python3-django-tables2,
15 15
    python3-gadjo,
16 16
    python3-magic,
setup.py
112 112
        'gadjo',
113 113
        'django-tables2>=1.5,<2.0',
114 114
        'django-jsonfield >= 0.9.3',
115
        'django-filter>1,<2.2',
115
        'django-filter>1,<2.5',
116 116
        'djangorestframework>=3.4,<3.10',
117 117
        'file-magic',
118 118
        'requests',
tox.ini
1 1
[tox]
2 2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/fargo/{env:BRANCH_NAME:}
3
envlist = py3-dj22-{sqlite,pg}-black-coverage-pylint
3
envlist = py3-dj22-sqlite,py3-dj22-pg-djfilter2{1,4-black-coverage-pylint}
4 4

  
5 5
[testenv]
6 6
usedevelop = True
......
19 19
        pylint
20 20
        pylint-django
21 21
        dj22: django>=2.2,<2.3
22
        djfilter21: django-filter>=2.1,<2.2
23
        djfilter24: django-filter>=2.4,<2.5
22 24
        pytest-cov
23 25
        pytest-random
24 26
        pytest-mock
25
-