From 57d7d3baa116f172d361d14075f5f16143ddec7b 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. Specifically this patch: - Uses the openstack-python3-train-jobs zuul template rather than templates for python 36/37. - Adds Python 3.7 to the setup.cfg classifier. - Adds py37 to the envlist of tox.ini. [1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html [2]https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: I92e07412e06d5e0bcd4a3ef63643d140243f8205 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 81212ed93..774e4f19c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -5,8 +5,7 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python36-jobs - - openstack-python37-jobs + - openstack-python3-train-jobs - lib-forward-testing - lib-forward-testing-python3 - release-notes-jobs-python3 diff --git a/setup.cfg b/setup.cfg index b361cf0e2..e09ec69c0 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 157e0fcb9..24ef4158f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.3.2 -envlist = py36,py27,pep8 +envlist = py36,py37,py27,pep8 skipsdist = True [testenv]