From f93c9be1c1058e210b551d7200882aa983c2332a Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Mon, 24 Apr 2023 12:18:02 +0530 Subject: [PATCH] Move to python3.9 as minimal python version 2023.2 release is targetting python3.9 as minimal testing rutime[1]. openstack-tox-py38 job started to fail as libraries(like tooz) already dropped py3.8 support. This patch updates neutron py3 override job template and setup.cfg to reflect the same. [1] https://review.opendev.org/c/openstack/governance/+/872232 Closes-Bug: #2017478 Change-Id: I3ebbbd46a284b2f96172a90427b355f3ccd0c098 --- setup.cfg | 4 ++-- zuul.d/job-templates.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index da9e0c09498..80172d073f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description_file = author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://docs.openstack.org/neutron/latest/ -python_requires = >=3.8 +python_requires = >=3.9 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -15,8 +15,8 @@ classifier = Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 [files] packages = diff --git a/zuul.d/job-templates.yaml b/zuul.d/job-templates.yaml index fdc4f8a860b..e2895c9086d 100644 --- a/zuul.d/job-templates.yaml +++ b/zuul.d/job-templates.yaml @@ -2,7 +2,7 @@ name: neutron-tox-override-jobs check: jobs: - - openstack-tox-py38: # from openstack-python3-jobs template + - openstack-tox-py39: # from openstack-python3-jobs template timeout: 3600 irrelevant-files: &irrelevant-files - ^\.pylintrc$ @@ -37,7 +37,7 @@ irrelevant-files: *irrelevant-files check-arm64: jobs: - - openstack-tox-py38-arm64: # from openstack-python3-jobs-arm64 template + - openstack-tox-py39-arm64: # from openstack-python3-jobs-arm64 template timeout: 4800 irrelevant-files: *irrelevant-files - openstack-tox-py310-arm64: # from openstack-python3-jobs-arm64 template @@ -45,7 +45,7 @@ irrelevant-files: *irrelevant-files gate: jobs: - - openstack-tox-py38: # from openstack-python3-jobs template + - openstack-tox-py39: # from openstack-python3-jobs template timeout: 3600 irrelevant-files: *irrelevant-files - openstack-tox-py310: # from openstack-python3-jobs template