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: Ibd4ad33bdc30512568843358973c716b21d039de
This commit is contained in:
Ghanshyam Mann 2024-10-01 18:29:10 -07:00
parent 066e0bddc8
commit 7f3030c291
3 changed files with 4 additions and 1 deletions

View File

@ -37,3 +37,4 @@ Tempest master supports the below python versions:
* Python 3.9 * Python 3.9
* Python 3.10 * Python 3.10
* Python 3.11 * Python 3.11
* Python 3.12

View File

@ -6,7 +6,6 @@ description_file =
author = OpenStack author = OpenStack
author_email = openstack-discuss@lists.openstack.org author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/tempest/latest/ home_page = https://docs.openstack.org/tempest/latest/
python_requires = >=3.8
classifier = classifier =
Intended Audience :: Information Technology Intended Audience :: Information Technology
Intended Audience :: System Administrators Intended Audience :: System Administrators
@ -19,6 +18,7 @@ classifier =
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython

View File

@ -12,6 +12,7 @@
- openstack-tox-py39 - openstack-tox-py39
- openstack-tox-py310 - openstack-tox-py310
- openstack-tox-py311 - openstack-tox-py311
- openstack-tox-py312
- tempest-full-py3: - tempest-full-py3:
# Define list of irrelevant files to use everywhere else # Define list of irrelevant files to use everywhere else
irrelevant-files: &tempest-irrelevant-files irrelevant-files: &tempest-irrelevant-files
@ -130,6 +131,7 @@
- openstack-tox-py39 - openstack-tox-py39
- openstack-tox-py310 - openstack-tox-py310
- openstack-tox-py311 - openstack-tox-py311
- openstack-tox-py312
- tempest-slow-py3: - tempest-slow-py3:
irrelevant-files: *tempest-irrelevant-files irrelevant-files: *tempest-irrelevant-files
- neutron-ovs-grenade-multinode: - neutron-ovs-grenade-multinode: