From d30787d677097f0eb6fa75295d3e28525f9de27a Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Thu, 2 Jan 2020 20:12:03 +0000 Subject: [PATCH] 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]. Depends-On: https://review.opendev.org/#/c/700733/ [1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin Change-Id: If7c7ce79594449637655c4832db50c2c243ce1c0 --- lower-constraints.txt | 8 ++++---- requirements.txt | 4 ++-- tox.ini | 4 +--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 61851592..39cbe8b4 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -12,7 +12,7 @@ cryptography==2.1 debtcollector==1.2.0 decorator==3.4.0 deprecation==1.0 -Django==1.11 +Django==2.2 django-appconf==1.0.2 django-babel==0.5.1 django-compressor==2.0 @@ -26,7 +26,7 @@ flake8==2.5.5 futurist==1.2.0 greenlet==0.4.10 hacking==0.12.0 -horizon==13.0.0 +horizon==17.1.0 idna==2.6 iso8601==0.1.11 Jinja2==2.10 @@ -62,7 +62,7 @@ oslo.serialization==2.18.0 oslo.service==1.24.0 oslo.utils==3.33.0 oslotest==3.2.0 -osprofiler==1.4.0 +osprofiler==2.3.0 Paste==2.0.2 PasteDeploy==1.5.0 pbr==2.0.0 @@ -84,7 +84,7 @@ python-barbicanclient==4.5.2 python-cinderclient==3.3.0 python-dateutil==2.5.3 python-glanceclient==2.8.0 -python-keystoneclient==3.8.0 +python-keystoneclient==3.22.0 python-mimeparse==1.6.0 python-neutronclient==6.7.0 python-novaclient==9.1.0 diff --git a/requirements.txt b/requirements.txt index c953f1f3..22172b8c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,11 +2,11 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -horizon>=14.0.0.0b3 # Apache-2.0 +horizon>=17.1.0 # Apache-2.0 Babel!=2.4.0,>=2.3.4 # BSD openstacksdk>=0.24.0 # Apache-2.0 oslo.log>=3.36.0 # Apache-2.0 pbr!=2.1.0,>=2.0.0 # Apache-2.0 python-barbicanclient>=4.5.2 # Apache-2.0 -python-keystoneclient>=3.8.0 # Apache-2.0 +python-keystoneclient>=3.22.0 # Apache-2.0 six>=1.10.0 # MIT diff --git a/tox.ini b/tox.ini index a49b0fe6..80b5b04c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.5.0 -envlist = py3,py3-{dj111,dj22},pep8,eslint,karma +envlist = py3,pep8,eslint,karma skipsdist = True [testenv] @@ -17,8 +17,6 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/ whitelist_externals = npm bash commands = - dj111: pip install django>=1.11,<2 - dj22: pip install django>=2.2,<2.3 python manage.py test octavia_dashboard --settings=octavia_dashboard.tests.settings [testenv:pep8]