Add Python 3.13 test

Python 3.13 is part of the supported runtimes for 2026.1 release[1].

[1] https://governance.openstack.org/tc/reference/runtimes/2026.1.html

Change-Id: Id38b980f37ad27059f2ac58ce1868fc1eaa9e243
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-01-16 21:38:16 +09:00
parent e658a58890
commit 54393e1ea0
6 changed files with 29 additions and 1 deletions
+15
View File
@@ -73,9 +73,24 @@
- job:
name: rally-tox-py312
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``py312`` environment.
vars:
tox_env: py312
- job:
name: rally-tox-py313
parent: rally-tox-base
description: |
Run unit test for rally project.
Uses tox with the ``py313`` environment.
vars:
tox_env: py313
nodeset: debian-trixie-8GB
- job:
name: rally-tox-mypy
parent: rally-tox-base
+1
View File
@@ -13,6 +13,7 @@
- rally-tox-py310
- rally-tox-py311
- rally-tox-py312
- rally-tox-py313
- rally-tox-zuul-ansible-lint:
files:
- tests/ci/playbooks/*
+5
View File
@@ -22,6 +22,11 @@ Changelog
Unreleased
----------
Added
~~~~~
* CI jobs for checking compatibility with python 3.13
Removed
~~~~~~~
+1
View File
@@ -25,6 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
+6
View File
@@ -90,6 +90,12 @@ def get_engine():
def engine_reset():
global _FACADE, _CONTEXT
if _FACADE is not None:
try:
engine = _FACADE.get_engine()
engine.dispose()
except Exception:
pass
_FACADE = None
_CONTEXT = None
+1 -1
View File
@@ -1,7 +1,7 @@
[tox]
minversion = 4.0.0
ignore_basepython_conflict = true
envlist = py310,py312,pep8,samples
envlist = py310,py313,pep8,samples
[testenv]
extras = {env:RALLY_EXTRAS:}