Projet

Général

Profil

0001-enable-django-3.2-testing-in-tox-file-68025.patch

A. Berriot, 18 août 2022 09:12

Télécharger (1,36 ko)

Voir les différences:

Subject: [PATCH 1/2] enable django 3.2 testing in tox file (#68025)

 setup.py |  2 +-
 tox.ini  | 11 ++++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)
setup.py
159 159
        'Programming Language :: Python :: 3',
160 160
    ],
161 161
    install_requires=[
162
        'django>=2.2, <2.3',
162
        'django>=2.2, <3.3',
163 163
        'gadjo',
164 164
        'djangorestframework>=3.4',
165 165
        'django-filter',
tox.ini
1 1
[tox]
2
envlist = py3-django22-codestyle-coverage, pylint
2
envlist =
3
  py3-django22-codestyle-coverage,
4
  py3-django32,
5
  pylint
3 6
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:}
4 7

  
5 8
[testenv]
......
26 29
  django-webtest
27 30
  pytz
28 31
  pyquery
29
  django22: django-mellon>=1.6.1
32
  django-mellon>=1.6.1
30 33
  pytest-freezegun
31 34
  django22: django>=2.2,<2.3
32
  psycopg2-binary<2.9
35
  django22: psycopg2-binary<2.9
36
  django32: django>=3.2,<3.3
37
  django32: psycopg2-binary>=2.9
33 38
  codestyle: pre-commit
34 39
  git+https://git.entrouvert.org/publik-django-templatetags.git
35 40
commands =
36
-