Drop Django 1.11 support

Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.

tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.

horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly. for more info. please
refer [1] [2].
[1] https://review.opendev.org/#/c/700733/
[2] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin

Change-Id: Icfa76c6d916af4548059a44704972877ad457e2f
This commit is contained in:
manchandavishal 2020-01-06 01:52:40 +00:00 committed by Vishal Manchanda
parent 3b2fd8ef55
commit 17798fadc5
3 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@ cryptography==2.1
debtcollector==1.19.0
decorator==4.2.1
deprecation==2.0
Django==1.11
Django==2.2
django-appconf==1.0.2
django-babel==0.6.2
django-compressor==2.0

View File

@ -7,6 +7,7 @@
# be installed in a specific order.
#
# PBR should always appear first
Django>=2.2 # BSD
oslo.log>=3.36.0 # Apache-2.0
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
pbr!=2.1.0,>=2.0.0 # Apache-2.0

View File

@ -1,5 +1,5 @@
[tox]
envlist = py37,py3-{dj111,dj22},pep8,docs
envlist = py37,pep8,docs
minversion = 3.1.1
skipsdist = True
ignore_basepython_conflict = True
@ -15,8 +15,6 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
dj111: pip install django>=1.11,<2
dj22: pip install django>=2.2,<2.3
{envpython} {toxinidir}/manage.py test tacker_horizon --settings=tacker_horizon.test.settings {posargs}
[testenv:py36]