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: If66a364be10271882629e0b278c8729172ff47bd
Depends-On: https://review.opendev.org/#/c/641878/
This commit is contained in:
ZhongShengping 2019-05-09 14:26:00 +08:00
parent 8c941ed187
commit bc049c9fc2
3 changed files with 7 additions and 3 deletions

View File

@ -2,8 +2,7 @@
templates:
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python36-jobs
- openstack-python37-jobs
- openstack-python3-train-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- check-requirements

View File

@ -9,6 +9,7 @@ classifiers =
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators

View File

@ -1,5 +1,5 @@
[tox]
envlist = py36,py27,pep8,genpolicy
envlist = py36,py37,py27,pep8,genpolicy
minversion = 1.6
skipsdist = True
@ -30,6 +30,10 @@ commands = oslo_debug_helper -t sahara/tests/unit {posargs}
basepython = python3.6
commands = oslo_debug_helper -t sahara/tests/unit {posargs}
[testenv:debug-py37]
basepython = python3.7
commands = oslo_debug_helper -t sahara/tests/unit {posargs}
[testenv:pep8]
basepython = python3
deps =