python: add formal python3.14 support and testing

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20260226213400.1254014-5-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
John Snow
2026-02-26 16:34:00 -05:00
parent d4ae1c7072
commit 191d4ceb40
2 changed files with 4 additions and 3 deletions

4
configure vendored
View File

@@ -527,8 +527,8 @@ first_python=
if test -z "${PYTHON}"; then if test -z "${PYTHON}"; then
# A bare 'python' is traditionally python 2.x, but some distros # A bare 'python' is traditionally python 2.x, but some distros
# have it as python 3.x, so check in both places. # have it as python 3.x, so check in both places.
for binary in python3 python python3.13 python3.12 python3.11 \ for binary in python3 python python3.14 python3.13 python3.12 \
python3.10 python3.9 ; do python3.11 python3.10 python3.9 ; do
if has "$binary"; then if has "$binary"; then
python=$(command -v "$binary") python=$(command -v "$binary")
if check_py_version "$python"; then if check_py_version "$python"; then

View File

@@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13 Programming Language :: Python :: 3.13
Programming Language :: Python :: 3.14
Typing :: Typed Typing :: Typed
[options] [options]
@@ -162,7 +163,7 @@ multi_line_output=3
# of python available on your system to run this test. # of python available on your system to run this test.
[tox:tox] [tox:tox]
envlist = py39, py310, py311, py312, py313 envlist = py39, py310, py311, py312, py313, py314
skip_missing_interpreters = true skip_missing_interpreters = true
[testenv] [testenv]