From 2cafe0a9c48eaa29330f70c7f69d99c9edd00a7a Mon Sep 17 00:00:00 2001 From: yatin Date: Tue, 25 Apr 2023 04:25:57 +0000 Subject: [PATCH] Revert "Move to python3.9 as minimal python version" This reverts commit f93c9be1c1058e210b551d7200882aa983c2332a. Reason for revert: tooz bump is reverted with [1] and that unblocks py38 jobs, other projects still rely on py38 for some functions and neutron due to py39 constraints fails to install there. Until next steps are clear for py38 support in 2023.2 let's revert. [1] https://review.opendev.org/c/openstack/requirements/+/881329 Change-Id: Ibf6e4bb784c6e26a2e413e45ccc2e8e5269fd562 Related-Bug: #2017478 --- 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 80172d073f7..da9e0c09498 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.9 +python_requires = >=3.8 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 e2895c9086d..fdc4f8a860b 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-py39: # from openstack-python3-jobs template + - openstack-tox-py38: # 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-py39-arm64: # from openstack-python3-jobs-arm64 template + - openstack-tox-py38-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-py39: # from openstack-python3-jobs template + - openstack-tox-py38: # from openstack-python3-jobs template timeout: 3600 irrelevant-files: *irrelevant-files - openstack-tox-py310: # from openstack-python3-jobs template