From 7858375439b68da91331aaa2bf530f0485e9de59 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Fri, 5 Jul 2019 11:57:42 -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 Change-Id: I2ef60794a2606a7d7abfd413c6ba50689c52e67b Story: #2005924 Task: #34236 --- .zuul.yaml | 13 +++++++------ setup.cfg | 1 + tox.ini | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 4a141f860..c67e3867c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -7,14 +7,14 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python36-jobs - - openstack-python37-jobs + - openstack-python3-train-jobs - release-notes-jobs-python3 check: jobs: - openstack-tox-functional - openstack-tox-functional-py36 - - placement-nova-tox-functional-py36 + - openstack-tox-functional-py37 + - placement-nova-tox-functional-py37 - placement-nested-perfload: voting: false - placement-perfload: @@ -42,15 +42,16 @@ jobs: - openstack-tox-functional - openstack-tox-functional-py36 - - placement-nova-tox-functional-py36 + - openstack-tox-functional-py37 + - placement-nova-tox-functional-py37 - tempest-full-py3: irrelevant-files: *gate-irrelevant-files - grenade-py3: irrelevant-files: *gate-irrelevant-files - job: - name: placement-nova-tox-functional-py36 - parent: nova-tox-functional-py36 + name: placement-nova-tox-functional-py37 + parent: nova-tox-functional-py37 description: | Run the nova functional tests to confirm that we aren't breaking the PlacementFixture. diff --git a/setup.cfg b/setup.cfg index c5d9ad7d2..03d9b0a44 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,7 @@ classifier = Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [global] setup-hooks = diff --git a/tox.ini b/tox.ini index 1be81f9f4..77c2730a1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.1.1 -envlist = py{27,36},functional,functional-py36,pep8 +envlist = py27,py37,functional,functional-py37,pep8 skipsdist = True # Automatic envs (pyXX) will use the python version appropriate to that # env and ignore basepython inherited from [testenv]. That's what we