Updating python testing as per Yoga testing runtime

Yoga testing runtime[1] has been updated to add py39
testing as voting and as we are testing py3.6 and py3.9
we do not need to test py3.7|8 explicitly. Unit tests update are
handled by the job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit makes other required changes in zuul.yaml and
update the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ib5b93ca7863fcc0b6d00fb4d52a5f299d1903056
This commit is contained in:
tushargite96
2021-11-25 12:35:17 +05:30
parent af3bc66a5f
commit 6afd886cdd
3 changed files with 8 additions and 11 deletions

View File

@@ -30,11 +30,12 @@
tox_envlist: functional-py36 tox_envlist: functional-py36
- job: - job:
name: python-cinderclient-functional-py38 name: python-cinderclient-functional-py39
parent: python-cinderclient-functional-base parent: python-cinderclient-functional-base
nodeset: devstack-single-node-centos-9-stream
vars: vars:
python_version: 3.8 python_version: 3.9
tox_envlist: functional-py38 tox_envlist: functional-py39
- project: - project:
templates: templates:
@@ -47,10 +48,10 @@
check: check:
jobs: jobs:
- python-cinderclient-functional-py36 - python-cinderclient-functional-py36
- python-cinderclient-functional-py38 - python-cinderclient-functional-py39
- openstack-tox-pylint: - openstack-tox-pylint:
voting: false voting: false
gate: gate:
jobs: jobs:
- python-cinderclient-functional-py36 - python-cinderclient-functional-py36
- python-cinderclient-functional-py38 - python-cinderclient-functional-py39

View File

@@ -20,6 +20,7 @@ classifier =
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[files] [files]
packages = packages =

View File

@@ -100,12 +100,7 @@ setenv = {[testenv:functional]setenv}
passenv = {[testenv:functional]passenv} passenv = {[testenv:functional]passenv}
commands = {[testenv:functional]commands} commands = {[testenv:functional]commands}
[testenv:functional-py37] [testenv:functional-py39]
setenv = {[testenv:functional]setenv}
passenv = {[testenv:functional]passenv}
commands = {[testenv:functional]commands}
[testenv:functional-py38]
setenv = {[testenv:functional]setenv} setenv = {[testenv:functional]setenv}
passenv = {[testenv:functional]passenv} passenv = {[testenv:functional]passenv}
commands = {[testenv:functional]commands} commands = {[testenv:functional]commands}