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:
@@ -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
|
||||
|
||||
@@ -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/*
|
||||
|
||||
@@ -22,6 +22,11 @@ Changelog
|
||||
Unreleased
|
||||
----------
|
||||
|
||||
Added
|
||||
~~~~~
|
||||
|
||||
* CI jobs for checking compatibility with python 3.13
|
||||
|
||||
Removed
|
||||
~~~~~~~
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user