Update python versions for testing

Given the 2025.2 (Flamingo) python runtimes [0], drop the
functional-py39 and functional-py311 jobs and add functional-py310
and functional-py312 jobs.  Also adjust tox.ini to drop the
functional-py39 definition and add functional-py313.

[0] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: Icd1a079cfab9367e52ac679fc86c3d055f4e9ee4
This commit is contained in:
Brian Rosmaita
2025-04-28 16:23:53 -04:00
parent 6efcf1c97d
commit 7cda64277f
2 changed files with 15 additions and 14 deletions

View File

@@ -20,21 +20,22 @@
- ^cinderclient/tests/unit/.*$
- job:
name: python-cinderclient-functional-py39
name: python-cinderclient-functional-py310
parent: python-cinderclient-functional-base
nodeset: devstack-single-node-centos-9-stream
# Python 3.10 is the default on Ubuntu 22.04 (Jammy)
nodeset: openstack-single-node-jammy
vars:
python_version: 3.9
tox_envlist: functional-py39
python_version: 3.10
tox_envlist: functional-py310
- job:
name: python-cinderclient-functional-py311
name: python-cinderclient-functional-py312
parent: python-cinderclient-functional-base
# use debian bookworm, where py3.11 is the default
nodeset: devstack-single-node-debian-bookworm
# Python 3.12 is the default on Ubuntu 24.04 (Noble)
nodeset: openstack-single-node-noble
vars:
python_version: 3.11
tox_envlist: functional-py311
python_version: 3.12
tox_envlist: functional-py312
- project:
vars:
@@ -48,11 +49,11 @@
- release-notes-jobs-python3
check:
jobs:
- python-cinderclient-functional-py39
- python-cinderclient-functional-py311
- python-cinderclient-functional-py310
- python-cinderclient-functional-py312
- openstack-tox-pylint:
voting: false
gate:
jobs:
- python-cinderclient-functional-py39
- python-cinderclient-functional-py311
- python-cinderclient-functional-py310
- python-cinderclient-functional-py312

View File

@@ -107,7 +107,7 @@ setenv =
# TLS (https) server certificate.
passenv = OS_*
[testenv:functional-py{3,39,310,311,312}]
[testenv:functional-py{3,310,311,312,313}]
deps = {[testenv:functional]deps}
setenv = {[testenv:functional]setenv}
passenv = {[testenv:functional]passenv}