From f0ceabfa03a1cb54d5be0b63bf145dd169fc7544 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 13 Mar 2026 16:17:40 +0100 Subject: [PATCH] Fix running test with py314 We need to ensure that tox uses nova specific setup when running tests with py314 otherwise unit test are failing due to mixed eventlet / native threading defaults across services. Signed-off-by: Balazs Gibizer Change-Id: I6041436beaebd45a3747fb8df3c0da774cf4a4b8 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 0e0c3133a8cc..d62c95a18570 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ commands = env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler' stestr slowest -[testenv:{unit,py3,py310,py311,py312,py313}] +[testenv:{unit,py3,py310,py311,py312,py313,py314}] setenv = {[testenv]setenv} # we do not have any greenlet leaks in unit tests so enforce that @@ -83,7 +83,7 @@ commands = stestr run {posargs} --exclude-list /tmp/exclude.txt stestr slowest -[testenv:functional{,-py310,-py311,-py312,-py313}] +[testenv:functional{,-py310,-py311,-py312,-py313,-py314}] description = Run functional tests. passenv =