From nobody Mon Nov 23 04:34:14 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1794252723; cv=none; d=zohomail.com; s=zohoarc; b=Z3JIqxyGyGsauItIQCIQ2afb62l5vgDeax6ItxzvlBBjm3AIiTaGirx/r3wgHQLbgrijFn3W5cXDEM/fGq8/pf/3MyydCxl1CUNqvcKlgTlew1tzG9wYdIoaQWjFocjXYbnut8Pu6PvGlB9xO1/rLRjhzI0+NBOsS5IJlArNlxw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794252723; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=oYN8aLN7g9KKay52bUTkapKfOflSdPYnNEWfRAM1sS0=; b=LvZ0F/lJnXkTNITCpC/mbP/JasKC5YEe3djJzJ4lgK/w37HYr/M4drMT8kKWRhRIdf2DbBo5lWuy1O/Jay+rPddwsr6tjCmBnzu7v72J+7QemSwL4tDrFfjyVwlpLIg/LXypr1pEiqDTuQLxwYxF6b4lvQkJf5mbMHy+5WSn6w4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794252723264356.40187910396946; Mon, 9 Nov 2026 11:32:03 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xQV5w-0006fy-FV; Mon, 09 Nov 2026 14:31:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xQV5t-0006YK-Td for qemu-devel@nongnu.org; Mon, 09 Nov 2026 14:31:53 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xQV5q-0001PG-Kn for qemu-devel@nongnu.org; Mon, 09 Nov 2026 14:31:52 -0500 Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-674-jWlfa_M-P9WzmktVCDnHjQ-1; Mon, 09 Nov 2026 14:31:48 -0500 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 517341955F21; Mon, 9 Nov 2026 19:31:47 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.80.81]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 502621956089; Mon, 9 Nov 2026 19:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1794252710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oYN8aLN7g9KKay52bUTkapKfOflSdPYnNEWfRAM1sS0=; b=Bz4iP3VnOZzdI/05x/m74niNxNFVgEqqO4dlGOJ1ISzLzbxbnS299/82H3WOY6eP6CoNVb IOSuV+400CWt9hZWQpjE6vDy18IwwlB3VwDygpv9QC1++vzBrpXJFpYLq4seagKZvurwNn S+ccSyfB6qQGvaBiuRTn9Bsgex2wbhM= X-MC-Unique: jWlfa_M-P9WzmktVCDnHjQ-1 X-Mimecast-MFC-AGG-ID: jWlfa_M-P9WzmktVCDnHjQ_1794252707 From: John Snow To: qemu-devel@nongnu.org Cc: Paolo Bonzini , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Cleber Rosa , Pierrick Bouvier Subject: [PATCH] Python: add support for Python3.15 Date: Mon, 9 Nov 2026 14:31:45 -0500 Message-ID: <20261109193145.3557626-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1794252723882158500 Content-Type: text/plain; charset="utf-8" Update tests, docs and infrastructure to explicitly support and test Python3.15. Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Pierrick Bouvier --- 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=3D 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=3D$(command -v "$binary") if check_py_version "$python"; then diff --git a/tests/docker/dockerfiles/python.docker b/tests/docker/dockerfi= les/python.docker index 79c554a2d87..86b38ba55dd 100644 --- a/tests/docker/dockerfiles/python.docker +++ b/tests/docker/dockerfiles/python.docker @@ -11,11 +11,10 @@ ENV PACKAGES=3D"\ python3-pip \ python3-tox \ python3-virtualenv \ - python3.10 \ - python3.11 \ python3.12 \ python3.13 \ - python3.9 \ + python3.14 \ + python3.15 \ " =20 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 =3D Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 Programming Language :: Python :: 3.14 + Programming Language :: Python :: 3.15 Typing :: Typed =20 [options] @@ -145,7 +146,7 @@ multi_line_output=3D3 # of python available on your system to run this test. =20 [tox:tox] -envlist =3D py312, py313, py314 +envlist =3D py312, py313, py314, py315 skip_missing_interpreters =3D true =20 [testenv] --=20 2.56.0