Update python testing as per zed cycle testing runtime

In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Moving the py36 job to py38 based  but to run on
ubuntu focal as c8s does not seems to have py38.
Also updating the python classifier also to reflect the same.

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

Change-Id: Iaebe48f41236fbcb1eb887c321d27be102c20292
This commit is contained in:
Ghanshyam Mann 2022-05-11 21:31:23 -05:00 committed by Ghanshyam
parent e01246b699
commit 6a1c4736a6
4 changed files with 16 additions and 12 deletions

View File

@ -45,13 +45,13 @@
zuul_work_dir: src/opendev.org/openstack/python-brick-cinderclient-ext
- job:
name: brick-cinderclient-dsvm-functional-py36
name: brick-cinderclient-dsvm-functional-py38
parent: brick-cinderclient-dsvm-functional-base
# need to specify a platform that has python 3.6 available
nodeset: devstack-single-node-centos-8-stream
# need to specify a platform that has python 3.8 available
nodeset: openstack-single-node-focal
vars:
python_version: 3.6
tox_envlist: functional-py36
python_version: 3.8
tox_envlist: functional-py38
- job:
name: brick-cinderclient-dsvm-functional-py39
@ -64,14 +64,14 @@
- project:
templates:
- check-requirements
- openstack-python3-yoga-jobs
- openstack-python3-zed-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- brick-cinderclient-dsvm-functional-py36
- brick-cinderclient-dsvm-functional-py38
- brick-cinderclient-dsvm-functional-py39
gate:
jobs:
- brick-cinderclient-dsvm-functional-py36
- brick-cinderclient-dsvm-functional-py38
- brick-cinderclient-dsvm-functional-py39

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Python 3.6 & 3.7 support has been dropped. The minimum version of Python now
supported is Python 3.8.

View File

@ -6,7 +6,7 @@ description_file =
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = http://docs.openstack.org/cinder/latest/
python_requires = >=3.6
python_requires = >=3.8
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@ -17,8 +17,6 @@ classifier =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

View File

@ -43,7 +43,7 @@ setenv =
OS_TEST_PATH=./brick_cinderclient_ext/tests/functional
passenv = OS_*
[testenv:functional-py36]
[testenv:functional-py38]
setenv =
{[testenv:functional]setenv}