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:
parent
d2ed7dfead
commit
d07175ca7f
@ -1,6 +1,8 @@
|
|||||||
- project:
|
- project:
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
|
- openstack-tox-py36:
|
||||||
|
voting: false
|
||||||
- horizon-openstack-tox-python3-django111
|
- horizon-openstack-tox-python3-django111
|
||||||
- openstack-tox-lower-constraints:
|
- openstack-tox-lower-constraints:
|
||||||
required-projects:
|
required-projects:
|
||||||
|
9
tox.ini
9
tox.ini
@ -46,9 +46,6 @@ commands =
|
|||||||
# NOTE(shu-mutow): On CI infra, horizon will be installed
|
# NOTE(shu-mutow): On CI infra, horizon will be installed
|
||||||
# according to job setting. but on local, we need to install
|
# according to job setting. but on local, we need to install
|
||||||
# horizon from master branch.
|
# horizon from master branch.
|
||||||
[testenv:py27]
|
|
||||||
basepython = python2.7
|
|
||||||
|
|
||||||
[testenv:py27-local]
|
[testenv:py27-local]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
@ -61,6 +58,12 @@ commands =
|
|||||||
{[testenv:hz-local]commands}
|
{[testenv:hz-local]commands}
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
|
|
||||||
|
[testenv:py36-local]
|
||||||
|
basepython = python3.6
|
||||||
|
commands =
|
||||||
|
{[testenv:hz-local]commands}
|
||||||
|
{[testenv]commands}
|
||||||
|
|
||||||
[testenv:py3-dj111]
|
[testenv:py3-dj111]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user