From ddf02491afcf0ddc21f5d510bdffa50dfe1453a6 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 11 Sep 2025 22:53:29 +0900 Subject: [PATCH] Drop Python 3.9 support It was removed from tested runtimes in 2025.2 . It has been kept for one cycle for smooth transition of the other projects, but it's time to bump the enforced minimum requirement. Also add Python 3.13 which has been tested for some time. Change-Id: I357f6af4d6079f4e0f66f4b3736fa548e5a9575c Signed-off-by: Takashi Kajinami --- .zuul.yaml | 4 ++-- releasenotes/notes/remove-py39-d5921efb33a278ca.yaml | 5 +++++ setup.cfg | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/remove-py39-d5921efb33a278ca.yaml diff --git a/.zuul.yaml b/.zuul.yaml index f8f22e6..bdd8166 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -9,13 +9,13 @@ - release-notes-jobs-python3 check: jobs: - - openstack-tox-functional-py39 + - openstack-tox-functional-py310 - openstack-tox-functional-py312 - tempest-smoke-py3-osprofiler-redis - tempest-smoke-py3-osprofiler-sqlalchemy gate: jobs: - - openstack-tox-functional-py39 + - openstack-tox-functional-py310 - job: name: tempest-smoke-py3-osprofiler-redis diff --git a/releasenotes/notes/remove-py39-d5921efb33a278ca.yaml b/releasenotes/notes/remove-py39-d5921efb33a278ca.yaml new file mode 100644 index 0000000..7f1c918 --- /dev/null +++ b/releasenotes/notes/remove-py39-d5921efb33a278ca.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Support for Python 3.9 has been removed. Now the minimum python version + supported is 3.10. diff --git a/setup.cfg b/setup.cfg index 6544fbe..95df37a 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/osprofiler/latest/ -python_requires = >=3.9 +python_requires = >=3.10 classifier = Environment :: OpenStack Intended Audience :: Developers @@ -15,10 +15,10 @@ classifier = Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython