From 5f5918df8b800aeeb490f80abce790b2799a0417 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 9 May 2019 14:26:01 +0800 Subject: [PATCH] Use openstack-python3-train-jobs template This goal is to implement the process set out in the 2018-10-24 Python Update Process TC resolution[1], for the Train cycle to ensure unit testing is in place for all of the Tested Runtimes for Train[2]. In practice, this generally means adding unit tests for Python 3.7 and dropping unit tests for Python 3.5. For Neutron, which already runs py36 and py37 unit tests it generally means switch to use the Zuul template openstack-python3-train-jobs for Train. Using this template will ensure that all projects that support Python3 will be tested against the agreed runtime versions, and make it easier to update them in future. [1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html [2]https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: I41d232a10a40d97347566e189457d8044e3639db Depends-On: https://review.opendev.org/#/c/641878/ --- .zuul.yaml | 3 +-- setup.cfg | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 11f704cce40..5faf8beb907 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -4,8 +4,7 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python36-jobs - - openstack-python37-jobs + - openstack-python3-train-jobs - publish-openstack-docs-pti - periodic-stable-jobs - check-requirements diff --git a/setup.cfg b/setup.cfg index c0718eb7e96..afb7801ed03 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 [files] packages = diff --git a/tox.ini b/tox.ini index a30e6aa07a6..7b1e4bf25d2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = docs,py36,py27,pep8 +envlist = docs,py36,py37,py27,pep8 minversion = 2.3.2 skipsdist = True