From 44383cec91168cae740d853bcaacfb6e6a27e7c9 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 9 May 2019 14:26:01 +0800 Subject: [PATCH] Update Python 3 test runtimes for Train 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. Using the Zuul template for Train 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: I03679fa9f097080250668ca3cc92d4360e5d2494 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 b0c7b02832a..9743e25d5ab 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,8 +2,7 @@ templates: - 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 7c504c6eed3..4a3e8fe3cbd 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 e3ef23d4bf4..7f2e690c1a5 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ minversion = 2.5 skipsdist = True skip_missing_interpreters = true -envlist = py36,py27,compliance,pep8 +envlist = py37,py27,compliance,pep8 [testenv] setenv = VIRTUAL_ENV={envdir}