From d07175ca7f97bb824c607b2e03b86f616b11672b Mon Sep 17 00:00:00 2001 From: Shu Muto <shu.mutow@gmail.com> Date: Wed, 25 Jul 2018 14:58:44 +0900 Subject: [PATCH] Prepare to support python3.6 This patch prepares python3.6 support. We should add py36-local into tox.ini and support for python3.6 into setup.cfg when we decide to support python3.6 formally. Change-Id: I3db71b72071d789e8214dcb65b8515b196bbceb0 --- .zuul.yaml | 2 ++ tox.ini | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 22caa929..74a0bbd9 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,6 +1,8 @@ - project: check: jobs: + - openstack-tox-py36: + voting: false - horizon-openstack-tox-python3-django111 - openstack-tox-lower-constraints: required-projects: diff --git a/tox.ini b/tox.ini index 78a0340e..dd39c783 100644 --- a/tox.ini +++ b/tox.ini @@ -46,9 +46,6 @@ commands = # NOTE(shu-mutow): On CI infra, horizon will be installed # according to job setting. but on local, we need to install # horizon from master branch. -[testenv:py27] -basepython = python2.7 - [testenv:py27-local] basepython = python2.7 commands = @@ -61,6 +58,12 @@ commands = {[testenv:hz-local]commands} {[testenv]commands} +[testenv:py36-local] +basepython = python3.6 +commands = + {[testenv:hz-local]commands} + {[testenv]commands} + [testenv:py3-dj111] basepython = python3 commands =