From 85fa0c0058392f53fa8ddfa8465551825793cbc4 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Fri, 5 Jul 2019 11:40:31 -0400 Subject: [PATCH] Add Python 3 Train unit tests This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Co-Authored-By: gujin Change-Id: Ib98f78131050be2c38a0128d2e2a792639c03c1c Story: #2005924 Task: #34221 --- .zuul.yaml | 5 ++--- setup.cfg | 3 ++- tox.ini | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 28bc06cb..a75a1eac 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -84,14 +84,13 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python35-jobs - - openstack-python36-jobs + - openstack-python3-train-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - masakari-functional-devstack-multinode: - voting: True + voting: true - project: masakari-systemfault-integration-ci: diff --git a/setup.cfg b/setup.cfg index bab07aa7..0162307b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,7 +16,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] data_files = diff --git a/tox.ini b/tox.ini index 0f0037c0..517d288f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = pep8,py27,py35,py36 +envlist = pep8,py27,py36,py37 skipsdist = True [testenv] @@ -27,14 +27,14 @@ commands = {[testenv]commands} stestr run {posargs} -[testenv:py35] -basepython = python3 +[testenv:py36] +basepython = python3.6 commands = {[testenv]commands} stestr run {posargs} -[testenv:py36] -basepython = python3.6 +[testenv:py37] +basepython = python3.7 commands = {[testenv]commands} stestr run {posargs}