Update python versions for testing

Given the 2025.2 (Flamingo) python runtimes [0], replace the
functional-py39 job with a functional-py310 job.  Also adjust
tox.ini to drop the functional-py38 and -py39 definitions and
add functional-py313.

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

Change-Id: I21ae49877d9c28b95d227e14ae580b9927d1557b
This commit is contained in:
Brian Rosmaita
2025-04-28 16:36:14 -04:00
parent 5a00aaf10b
commit 3997894711
2 changed files with 8 additions and 7 deletions

View File

@@ -45,12 +45,13 @@
zuul_work_dir: src/opendev.org/openstack/python-brick-cinderclient-ext zuul_work_dir: src/opendev.org/openstack/python-brick-cinderclient-ext
- job: - job:
name: brick-cinderclient-dsvm-functional-py39 name: brick-cinderclient-dsvm-functional-py310
parent: brick-cinderclient-dsvm-functional-base parent: brick-cinderclient-dsvm-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: vars:
python_version: 3.9 python_version: 3.10
tox_envlist: functional-py39 tox_envlist: functional-py310
- job: - job:
name: brick-cinderclient-dsvm-functional-py312 name: brick-cinderclient-dsvm-functional-py312
@@ -67,9 +68,9 @@
- release-notes-jobs-python3 - release-notes-jobs-python3
check: check:
jobs: jobs:
- brick-cinderclient-dsvm-functional-py39 - brick-cinderclient-dsvm-functional-py310
- brick-cinderclient-dsvm-functional-py312 - brick-cinderclient-dsvm-functional-py312
gate: gate:
jobs: jobs:
- brick-cinderclient-dsvm-functional-py39 - brick-cinderclient-dsvm-functional-py310
- brick-cinderclient-dsvm-functional-py312 - brick-cinderclient-dsvm-functional-py312

View File

@@ -45,7 +45,7 @@ setenv =
OS_TEST_PATH=./brick_cinderclient_ext/tests/functional OS_TEST_PATH=./brick_cinderclient_ext/tests/functional
passenv = OS_* passenv = OS_*
[testenv:functional-py{3,38,39,310,311,312}] [testenv:functional-py{3,310,311,312,313}]
setenv = setenv =
{[testenv:functional]setenv} {[testenv:functional]setenv}