From 7139d5b006b81f8e64e1ac3a70704cf4d7c92b11 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 22 Oct 2024 12:55:52 +0900 Subject: [PATCH] Remove Python 3.8 support Python 3.8 is no longer part of the tested runtimes since 2024.2[1] because its EOL is coming soon. Also officially declare python 3.12 support because python 3.12 is now part of tested runtimes and unit test job with Python 3.12 is now voting. [1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html Change-Id: Iae5cf70028808a384654fb2b7eee8f7995348702 --- releasenotes/notes/remove-py38-39f51350ec165758.yaml | 5 +++++ setup.cfg | 4 ++-- tox.ini | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/remove-py38-39f51350ec165758.yaml diff --git a/releasenotes/notes/remove-py38-39f51350ec165758.yaml b/releasenotes/notes/remove-py38-39f51350ec165758.yaml new file mode 100644 index 0000000..a0440dc --- /dev/null +++ b/releasenotes/notes/remove-py38-39f51350ec165758.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Python 3.8 support was dropped. The minimum version of Python now supported + is Python 3.9. diff --git a/setup.cfg b/setup.cfg index aa4955a..5e62aaf 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/python-aodhclient/latest/ -python_requires = >=3.8 +python_requires = >=3.9 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -16,10 +16,10 @@ classifier = Programming Language :: Python 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 = diff --git a/tox.ini b/tox.ini index 766c884..9ccea82 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 4.2.5 -envlist = py38,py39,py311,pep8 +envlist = py3,pep8 ignore_basepython_conflict = True [testenv]