From cbd46caeb845c6129c73d716bde7c5e5f2f92d3b Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Wed, 3 Nov 2021 15:18:19 -0500 Subject: [PATCH] Test python3.9 as voting job In Yoga testing, we are making py3.9 job to run as voting, so adding py3.9 job as voting. Also, as bashate is branchless and needs to support older supported stable branches, let's test it with all the python version supported in those supported stable branches. For that, we need to explicitly dd the py jobs instead of using the template. This way, we will explicitly know that we are testing all supported python versions when the new release template bumps the min python version in the template. Change-Id: Ifda17adba4c5fab369204a34b3ae49eab309a7dd --- .zuul.d/jobs.yaml | 11 ++++++++++- setup.cfg | 1 + tox.ini | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index 5c3584f..3006015 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -1,14 +1,23 @@ - project: templates: - openstack-python35-jobs - - openstack-python3-yoga-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py37 + - openstack-tox-py38 + - openstack-tox-py39 - bashate-devstack gate: jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py37 + - openstack-tox-py38 + - openstack-tox-py39 - bashate-devstack - job: diff --git a/setup.cfg b/setup.cfg index d14be53..94ad7a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,7 @@ classifier = Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 [files] packages = diff --git a/tox.ini b/tox.ini index 130d3a6..312677d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.18.0 -envlist = py36,py38,pep8 +envlist = py36,py39,pep8 skipsdist = True ignore_basepython_conflict = True