From 152e7c543325fd537378892289cb0b444df7c826 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 24 Oct 2024 20:41:09 +0900 Subject: [PATCH] Remove Python 3.8 support Python 3.8 was removed from the tested runtimes for 2024.2[1] and has not been tested since then. Also add Python 3.12 which is part of the tested runtimes for 2025.1. Now unit tests job with Python 3.12 is voting. [1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html Change-Id: I4f913210a0a6015cc4e35a96aeef5ca4b08f8b0c --- releasenotes/notes/remove-py38-ec073d8462e60e8b.yaml | 5 +++++ setup.cfg | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/remove-py38-ec073d8462e60e8b.yaml diff --git a/releasenotes/notes/remove-py38-ec073d8462e60e8b.yaml b/releasenotes/notes/remove-py38-ec073d8462e60e8b.yaml new file mode 100644 index 00000000..04031636 --- /dev/null +++ b/releasenotes/notes/remove-py38-ec073d8462e60e8b.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Support for Python 3.8 has been removed. Now the minimum python version + supported is 3.9 . diff --git a/setup.cfg b/setup.cfg index b3d52893..c9aba8d8 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/sushy/latest/ -python_requires = >=3.8 +python_requires = >=3.9 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -17,10 +17,10 @@ classifier = Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 [files] packages = @@ -36,4 +36,4 @@ quiet-level = 4 # Words to ignore: # hda: Hardware Device Address # assertIn: Python's unittest method -ignore-words-list = hda,assertIn \ No newline at end of file +ignore-words-list = hda,assertIn