From 5f713170e6926ec92bfbca0f3bbd255b9fd93933 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Wed, 13 Jun 2018 00:02:49 +0900 Subject: [PATCH] Add python3 django 1.11 job instead of django 2.0 job Django 2.0 is now used in tox py35 job, so there is no need for py35dj20 job. Instead, Django 1.11 with python3 is not covered. - py35dj20 job is dropped from tox.ini. - python3-django111 is added to tox.ini. python3 is specified to basepython to avoid a specific python version. - .zuul.yaml is updated to consume horizon-openstack-tox-python3-django111 and drop horizon-openstack-tox-py35dj20. Change-Id: I985f87faefbe1b503b502c98acf0ed6003c587ad --- .zuul.yaml | 8 ++------ tox.ini | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index bd916bd..63c1ff3 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -4,12 +4,8 @@ check: jobs: - openstack-tox-lower-constraints - - horizon-openstack-tox-py35dj20: - required-projects: - openstack/horizon + - horizon-openstack-tox-python3-django111 gate: jobs: - openstack-tox-lower-constraints - - horizon-openstack-tox-py35dj20: - required-projects: - openstack/horizon + - horizon-openstack-tox-python3-django111 diff --git a/tox.ini b/tox.ini index 28dd851..9ace7a2 100644 --- a/tox.ini +++ b/tox.ini @@ -53,8 +53,8 @@ deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -[testenv:py35dj20] -basepython = python3.5 +[testenv:py3-dj111] +basepython = python3 commands = - pip install django>=2.0,<2.1 + pip install django>=1.11,<2 {[testenv]commands}