Update python versions for testing
Given the supported python runtimes for 2025.2 (Flamingo) [0]: - modify .zuul.yaml to run the functional jobs in py310 and py312 (py311 testing is not required) - update tox.ini to support unit, functional, rbac, debug testenvs for: * python3.10 (minimum supported) * python3.11 (supported) * python3.12 (maximum supported) * python3.13 (will be default in Debian 13 before Flamingo release) The zuul, tox config in stable branches are unchanged. [0] https://governance.openstack.org/tc/reference/runtimes/2025.2.html Change-Id: I1bcd1e665451e71ddeba898723064334fe60d14a
This commit is contained in:
parent
788172a6f7
commit
d1d2f90c6b
@ -430,7 +430,6 @@
|
||||
- release-notes-jobs-python3
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-functional-py39
|
||||
- openstack-tox-functional-py310
|
||||
- openstack-tox-functional-py312
|
||||
- glance-ceph-thin-provisioning:
|
||||
@ -478,7 +477,6 @@
|
||||
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-functional-py39
|
||||
- openstack-tox-functional-py310
|
||||
- openstack-tox-functional-py312
|
||||
- tempest-integrated-storage:
|
||||
|
8
tox.ini
8
tox.ini
@ -1,7 +1,7 @@
|
||||
[tox]
|
||||
minversion = 3.18.0
|
||||
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
||||
envlist = functional-py39,py39,pep8
|
||||
envlist = functional-py310,py310,pep8
|
||||
skip_missing_interpreters = true
|
||||
|
||||
[testenv]
|
||||
@ -38,11 +38,11 @@ setenv =
|
||||
SQLALCHEMY_WARN_20=1
|
||||
commands = stestr run {posargs}
|
||||
|
||||
[testenv:functional-py{39,310,311,312}]
|
||||
[testenv:functional-py{310,311,312,313}]
|
||||
setenv = {[testenv:functional]setenv}
|
||||
commands = {[testenv:functional]commands}
|
||||
|
||||
[testenv:functional-py{39-rbac,310-rbac,311-rbac,312-rbac}]
|
||||
[testenv:functional-py{310-rbac,311-rbac,312-rbac,313-rbac}]
|
||||
setenv =
|
||||
{[testenv:functional]setenv}
|
||||
OS_GLANCE_TEST_RBAC_DEFAULTS = True
|
||||
@ -146,7 +146,7 @@ commands =
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:debug{,-py39,-py310,-py311,-py312}]
|
||||
[testenv:debug{,-py310,-py311,-py312,-py313}]
|
||||
# this will use whatever the system python3 is
|
||||
commands =
|
||||
oslo_debug_helper {posargs}
|
||||
|
Loading…
x
Reference in New Issue
Block a user