Fix issue #1176: Prevent Django 3 installation

This commit is contained in:
ErikKalkoken 2019-12-04 14:02:03 +01:00
parent 63d061e9f2
commit c7c3083e3e
2 changed files with 4 additions and 5 deletions

View File

@ -16,7 +16,7 @@ install_requires = [
'celery>=4.0.2,<4.3.0', 'celery>=4.0.2,<4.3.0',
'celery_once', 'celery_once',
'django>=2.0', 'django>=2.0,<3.0',
'django-bootstrap-form', 'django-bootstrap-form',
'django-registration==2.4', 'django-registration==2.4',
'django-sortedm2m', 'django-sortedm2m',

View File

@ -1,7 +1,7 @@
[tox] [tox]
skipsdist = True skipsdist = True
usedevelop = True usedevelop = True
envlist = py{34,35,36,37}-dj{111,20} envlist = py{34,35,36,37}-dj{20}
[testenv] [testenv]
setenv = setenv =
@ -11,9 +11,8 @@ basepython =
py35: python3.5 py35: python3.5
py36: python3.6 py36: python3.6
py37: python3.7 py37: python3.7
deps= deps=
dj111: Django>=1.11.1,<2.0 dj20: Django>=2.0,<3.0
dj20: Django>=2.0
py37: https://github.com/yaml/pyyaml/zipball/master#egg=pyyaml py37: https://github.com/yaml/pyyaml/zipball/master#egg=pyyaml
py37: https://github.com/celery/kombu/zipball/master#egg=kombu py37: https://github.com/celery/kombu/zipball/master#egg=kombu
install_command = pip install -e ".[testing]" -U {opts} {packages} install_command = pip install -e ".[testing]" -U {opts} {packages}