All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"John Snow" <jsnow@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Cleber Rosa" <crosa@redhat.com>,
	"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>
Subject: [PATCH] Python: add support for Python3.15
Date: Mon,  9 Nov 2026 14:31:45 -0500	[thread overview]
Message-ID: <20261109193145.3557626-1-jsnow@redhat.com> (raw)

Update tests, docs and infrastructure to explicitly support and test
Python3.15.

Signed-off-by: John Snow <jsnow@redhat.com>
---
 configure                              | 2 +-
 tests/docker/dockerfiles/python.docker | 5 ++---
 python/Makefile                        | 4 ++--
 python/setup.cfg                       | 3 ++-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure b/configure
index af14a9c23ef..745899b0e6d 100755
--- a/configure
+++ b/configure
@@ -497,7 +497,7 @@ 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.14 python3.13 python3.12; do
+    for binary in python3 python python3.15 python3.14 python3.13 python3.12; do
         if has "$binary"; then
             python=$(command -v "$binary")
             if check_py_version "$python"; then
diff --git a/tests/docker/dockerfiles/python.docker b/tests/docker/dockerfiles/python.docker
index 79c554a2d87..86b38ba55dd 100644
--- a/tests/docker/dockerfiles/python.docker
+++ b/tests/docker/dockerfiles/python.docker
@@ -11,11 +11,10 @@ ENV PACKAGES="\
     python3-pip \
     python3-tox \
     python3-virtualenv \
-    python3.10 \
-    python3.11 \
     python3.12 \
     python3.13 \
-    python3.9 \
+    python3.14 \
+    python3.15 \
     "
 
 RUN dnf install -y $PACKAGES
diff --git a/python/Makefile b/python/Makefile
index 7868a48a232..99066bfa3e0 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -15,8 +15,8 @@ help:
 	@echo "make check-tox:"
 	@echo "    Run tests against multiple python versions."
 	@echo "    These tests use the newest dependencies."
-	@echo "    Requires: Python 3.12 - 3.14, and tox."
-	@echo "    Hint (Fedora): 'sudo dnf install python3-tox python3.14'"
+	@echo "    Requires: Python 3.12 - 3.15, and tox."
+	@echo "    Hint (Fedora): 'sudo dnf install python3-tox python3.15'"
 	@echo "    The variable QEMU_TOX_EXTRA_ARGS can be use to pass extra"
 	@echo "    arguments to tox".
 	@echo ""
diff --git a/python/setup.cfg b/python/setup.cfg
index 927f72a46f6..d4130a2b27b 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -17,6 +17,7 @@ classifiers =
     Programming Language :: Python :: 3.12
     Programming Language :: Python :: 3.13
     Programming Language :: Python :: 3.14
+    Programming Language :: Python :: 3.15
     Typing :: Typed
 
 [options]
@@ -145,7 +146,7 @@ multi_line_output=3
 # of python available on your system to run this test.
 
 [tox:tox]
-envlist = py312, py313, py314
+envlist = py312, py313, py314, py315
 skip_missing_interpreters = true
 
 [testenv]
-- 
2.56.0



             reply	other threads:[~2026-11-09 19:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 19:31 John Snow [this message]
2026-11-09 19:38 ` [PATCH] Python: add support for Python3.15 Daniel P. Berrangé
2026-11-10 15:22 ` Pierrick Bouvier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261109193145.3557626-1-jsnow@redhat.com \
    --to=jsnow@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=crosa@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.