Projet

Général

Profil

0001-Enabled-django-3.2-testing-in-tox-file.patch

A. Berriot, 28 juillet 2022 14:49

Télécharger (1,77 ko)

Voir les différences:

Subject: [PATCH 1/5] Enabled django 3.2 testing in tox file

 setup.py |  4 ++--
 tox.ini  | 11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)
setup.py
149 149
        'Programming Language :: Python',
150 150
    ],
151 151
    install_requires=[
152
        'django>=2.2, <2.3',
152
        'django>=2.2, <3.3',
153 153
        'gadjo',
154 154
        'celery<4' if sys.version_info < (3, 7) else 'celery>=4',
155 155
        'django-mellon',
156 156
        'django-tenant-schemas',
157 157
        'prometheus_client',
158
        'djangorestframework>=3.4, <3.10',
158
        'djangorestframework>=3.4, <3.13',
159 159
        'dnspython',
160 160
        'lxml',
161 161
        'num2words==0.5.9',
tox.ini
32 32
	fast: NOMIGRATIONS=--nomigrations
33 33
deps:
34 34
	django22: django>=2.2,<2.3
35
	django32: django>=3.2,<3.3
35 36
	pytest!=6.0.0
36 37
	pytest-cov
37 38
	pytest-django
......
42 43
	django-mellon
43 44
	django-webtest
44 45
	Markdown<3
45
	django-tables2<2.0
46
	django22: django-tables2<2.0
47
	django32: django-tables2>=2.4<2.5
46 48
	authentic: https://git.entrouvert.org/authentic.git/snapshot/authentic-main.tar.gz
47 49
	passerelle: https://git.entrouvert.org/passerelle.git/snapshot/passerelle-main.tar.gz
48 50
	passerelle: python-memcached
......
54 56
	pytest-freezegun
55 57
	xmlschema<1.1
56 58
	enum34<=1.1.6
57
	psycopg2<2.9
58
	psycopg2-binary<2.9
59
	django32: psycopg2
60
	django32: psycopg2-binary
61
  	django22: psycopg2<2.9
62
  	django22: psycopg2-binary<2.9
63

  
59 64
	black: pre-commit
60 65
commands =
61 66
	./getlasso3.sh
62
-