From fcd9e88da29d62f71492ffa749b7d08ef128caab Mon Sep 17 00:00:00 2001 From: songwenping Date: Fri, 13 May 2022 16:04:17 +0800 Subject: [PATCH] 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. 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: I9c807c2bad39fed288314b1fb291d2a286aa09c3 --- .zuul.yaml | 4 ---- .../notes/drop-python-3-6-and-3-7-9db9b12a73106e26.yaml | 5 +++++ setup.cfg | 4 +--- 3 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 releasenotes/notes/drop-python-3-6-and-3-7-9db9b12a73106e26.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 0484576f8..42e965e91 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -15,8 +15,6 @@ - release-notes-jobs-python3 check: jobs: - - openstack-tox-functional-py36 - - openstack-tox-functional-py37 - openstack-tox-functional-py38 - openstack-tox-functional-py39 - openstack-tox-pep8 @@ -48,8 +46,6 @@ irrelevant-files: *gate-irrelevant-files gate: jobs: - - openstack-tox-functional-py36 - - openstack-tox-functional-py37 - openstack-tox-functional-py38 - openstack-tox-functional-py39 - openstack-tox-pep8 diff --git a/releasenotes/notes/drop-python-3-6-and-3-7-9db9b12a73106e26.yaml b/releasenotes/notes/drop-python-3-6-and-3-7-9db9b12a73106e26.yaml new file mode 100644 index 000000000..db420d739 --- /dev/null +++ b/releasenotes/notes/drop-python-3-6-and-3-7-9db9b12a73106e26.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Python 3.6 & 3.7 support has been dropped. The minimum version of Python now + supported is Python 3.8. diff --git a/setup.cfg b/setup.cfg index c4d39dc3c..3779be702 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,7 @@ project_urls = API Reference = https://docs.openstack.org/api-ref/placement/ Source Code = https://opendev.org/openstack/placement Release Notes = https://docs.openstack.org/releasenotes/placement/ -python_requires = >=3.6 +python_requires = >=3.8 classifier = Development Status :: 5 - Production/Stable Environment :: OpenStack @@ -24,8 +24,6 @@ classifier = Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9