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
This commit is contained in:
Shu Muto 2018-07-25 14:58:44 +09:00
parent d2ed7dfead
commit d07175ca7f
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,8 @@
- project:
check:
jobs:
- openstack-tox-py36:
voting: false
- horizon-openstack-tox-python3-django111
- openstack-tox-lower-constraints:
required-projects:

View File

@ -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 =