From 54cc2951f2f7ad98930b2e2a95d6f4014626132c Mon Sep 17 00:00:00 2001 From: gujin Date: Thu, 11 Jul 2019 23:06:33 +0800 Subject: [PATCH] Add Python 3 Train unit tests 1. This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. 2. Remove a unnecessary space See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I89846e571cfabca4e6188be8a72337111bfa9bff --- .zuul.yaml | 4 ++-- cli_setup.py | 2 +- setup.cfg | 3 ++- tox.ini | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 8afe657..caaa2f2 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -37,11 +37,12 @@ timeout: 3600 - project: + templates: + - openstack-python3-train-jobs check: jobs: - openstack-tox-pep8 - openstack-tox-py27 - - openstack-tox-py36 - kollacli-tox-mypy - kollacli-tox-functional - kollacli-tox-functional-py36 @@ -49,7 +50,6 @@ jobs: - openstack-tox-pep8 - openstack-tox-py27 - - openstack-tox-py36 - kollacli-tox-mypy - kollacli-tox-functional - kollacli-tox-functional-py36 diff --git a/cli_setup.py b/cli_setup.py index 275b2f1..7986c15 100755 --- a/cli_setup.py +++ b/cli_setup.py @@ -30,7 +30,7 @@ tools = 'tools' def setup_ansible_etc(): # if the kolla-cli directory for the inventory doesn't exist - # already then make it. this will also create the directory the + # already then make it. this will also create the directory the # globals and password file goes into cli_etc_dir = os.path.join(kolla_ansible_etc_target, kolla_cli, ansible) diff --git a/setup.cfg b/setup.cfg index 95a828c..e69bb0d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,8 @@ classifier = Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] packages = diff --git a/tox.ini b/tox.ini index 5157685..9ae56cf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = pep8,mypy,functional,functional-py36,py27,py36 +envlist = py37,pep8,mypy,functional,functional-py36,py27 [testenv] usedevelop=True