From 6bbec5a53dab662693cb91100d6fb8a9f5a70236 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Tue, 1 Oct 2024 19:09:41 -0700 Subject: [PATCH] Test python 3.12 As per 2025.1 testing runtime, Python 3.12 is the max python version to test. Adding the test job as well update the document to support it. Also, remove the python_requires flag from setup.cfg which stop installing it on python version lower than the min supported. Let's allow to install and as long as it work for older python it is ok. User can get to know the supported python versions from classifier also. Change-Id: I7fafdeccbc549fade23db755e35948ea83ffa530 --- .zuul.yaml | 2 ++ setup.cfg | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index f4cc638..e721cb9 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -8,6 +8,7 @@ - openstack-tox-py39 - openstack-tox-py310 - openstack-tox-py311 + - openstack-tox-py312 gate: jobs: - openstack-tox-pep8 @@ -15,3 +16,4 @@ - openstack-tox-py39 - openstack-tox-py310 - openstack-tox-py311 + - openstack-tox-py312 diff --git a/setup.cfg b/setup.cfg index b600139..d5cd303 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,6 @@ description_file = author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://opendev.org/openstack/tempest-stress/src/branch/master/README.rst -python_requires = >=3.8 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -21,6 +20,7 @@ classifier = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 [files] packages =