From 191d4ceb40f8c80ae402a365a41300dcf1344125 Mon Sep 17 00:00:00 2001 From: John Snow Date: Thu, 26 Feb 2026 16:34:00 -0500 Subject: [PATCH] python: add formal python3.14 support and testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Daniel P. Berrangé Reviewed-by: Thomas Huth Message-ID: <20260226213400.1254014-5-jsnow@redhat.com> Signed-off-by: John Snow --- configure | 4 ++-- python/setup.cfg | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index b99ba65d71..cd1dadd8bb 100755 --- a/configure +++ b/configure @@ -527,8 +527,8 @@ first_python= if test -z "${PYTHON}"; then # A bare 'python' is traditionally python 2.x, but some distros # have it as python 3.x, so check in both places. - for binary in python3 python python3.13 python3.12 python3.11 \ - python3.10 python3.9 ; do + for binary in python3 python python3.14 python3.13 python3.12 \ + python3.11 python3.10 python3.9 ; do if has "$binary"; then python=$(command -v "$binary") if check_py_version "$python"; then diff --git a/python/setup.cfg b/python/setup.cfg index e5bf498f0e..8097593397 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -19,6 +19,7 @@ classifiers = Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 + Programming Language :: Python :: 3.14 Typing :: Typed [options] @@ -162,7 +163,7 @@ multi_line_output=3 # of python available on your system to run this test. [tox:tox] -envlist = py39, py310, py311, py312, py313 +envlist = py39, py310, py311, py312, py313, py314 skip_missing_interpreters = true [testenv]