From 7c8b800867ae5e2a870d4958924b7eb233599077 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 21 Apr 2022 14:16:55 -0500 Subject: [PATCH] Update python testing as per zed cycle teting runtime In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Removing the py36 centos8 job as well as updating the python classifier also to reflect the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: Iba5074ea6f981a7527e86cfc98edd1ed7dd3086f --- .zuul.yaml | 37 ++++++------------------------------- setup.cfg | 4 +--- 2 files changed, 7 insertions(+), 34 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 1db43d2fae60..4c244b4d3fb3 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,34 +1,6 @@ # See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3 # for job naming conventions. -- job: - name: nova-tox-functional-centos8-py36 - parent: openstack-tox-functional-py36 - nodeset: devstack-single-node-centos-8-stream - description: | - Run tox-based functional tests for the OpenStack Nova project - under cPython version 3.6 with Nova specific irrelevant-files list. - Uses tox with the ``functional-py36`` environment. - - This job also provides a parent for other projects to run the nova - functional tests on their own changes. - required-projects: - # including nova here makes this job reusable by other projects - - openstack/nova - - openstack/placement - irrelevant-files: &functional-irrelevant-files - - ^.*\.rst$ - - ^api-.*$ - - ^doc/(source|test)/.*$ - - ^nova/locale/.*$ - - ^releasenotes/.*$ - vars: - # explicitly stating the work dir makes this job reusable by other - # projects - zuul_work_dir: src/opendev.org/openstack/nova - bindep_profile: test py36 - timeout: 3600 - - job: name: nova-tox-functional-py38 parent: openstack-tox-functional-py38 @@ -43,7 +15,12 @@ # including nova here makes this job reusable by other projects - openstack/nova - openstack/placement - irrelevant-files: *functional-irrelevant-files + irrelevant-files: &functional-irrelevant-files + - ^.*\.rst$ + - ^api-.*$ + - ^doc/(source|test)/.*$ + - ^nova/locale/.*$ + - ^releasenotes/.*$ vars: # explicitly stating the work dir makes this job reusable by other # projects @@ -660,7 +637,6 @@ - nova-ovs-hybrid-plug - nova-tox-validate-backport: voting: false - - nova-tox-functional-centos8-py36 - nova-tox-functional-py38 - nova-tox-functional-py39 - tempest-integrated-compute: @@ -702,7 +678,6 @@ jobs: - nova-live-migration - nova-live-migration-ceph - - nova-tox-functional-centos8-py36 - nova-tox-functional-py38 - nova-tox-functional-py39 - nova-multi-cell diff --git a/setup.cfg b/setup.cfg index f433c2f6e7d8..a31651dd5ff3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,7 +10,7 @@ project_urls = Bug Tracker = https://bugs.launchpad.net/nova/ Documentation = https://docs.openstack.org/nova/ Source Code = https://opendev.org/openstack/nova -python_requires = >=3.6 +python_requires = >=3.8 classifiers = Development Status :: 5 - Production/Stable Environment :: OpenStack @@ -20,8 +20,6 @@ classifiers = Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3 :: Only