From nobody Sat Sep 26 22:14:44 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=1788377820; cv=none; d=zohomail.com; s=zohoarc; b=ha2rhXL5TrJl1PjT/R7SL5kOryRuc9o29XsvbqXtvacyYQ3DhGuclrzWqIBP7Zt8fe2VPPYja+cJ3hIX9m+xGLQQqerP8TISqWcB9pyrvp3xEH9rXgdFZX4hA/WU97/7qB5RNbRMIRSPsPrbFG5aMdw7lzYpDO32PVbsZdLy60I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377820; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=DuRMK/FTIgbpmJ68e8xaeoiOkOvvvLrbv7fqHpI7yoY=; b=Z4CxU5PyMhVtL2oncIdKr5uk7XKECl4KeYsWJn+VKuo45HI4o9vg6VClSCazjyl+stjE/HrhciM76tLXM9DVIsv+5V23RTav3EJi47x/Gph3sTgWDxHatMY1kjHkiGGTMS6krHNvcRlCk/lwuc91+x2ZHB6rdmCFVwGkbVK63GA= 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 1788377820370411.39450006124; Wed, 2 Sep 2026 12:37:00 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qkq-0001Pd-OD; Wed, 02 Sep 2026 15:36:16 -0400 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 1x1qkp-0001P9-BL for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:15 -0400 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 1x1qko-0004jj-0i for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:15 -0400 Received: from mx-prod-mc-05.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-198-YnTuksFbOHaI4CYlO0Myqw-1; Wed, 02 Sep 2026 15:36:09 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 396E419560A2; Wed, 2 Sep 2026 19:36:06 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id F271B1800635; Wed, 2 Sep 2026 19:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DuRMK/FTIgbpmJ68e8xaeoiOkOvvvLrbv7fqHpI7yoY=; b=VKPTcll/Y8091Xrnz5De9Vez2i9qh5NE3Q6AFv13a68LjsFjz3myy88nAz7Bi3r1y/M6t3 qnYJnjJsjP7st/Of0McsibnSFN3VIsrjo42GYOUpmTTjhaCCwkj/wmaHawxGp44OlwVK8C vMcJzautu3xCMWa6S07MOPQvvx/3j3A= X-MC-Unique: YnTuksFbOHaI4CYlO0Myqw-1 X-Mimecast-MFC-AGG-ID: YnTuksFbOHaI4CYlO0Myqw_1788377767 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 01/16] tests: update vm tests to prefer locally-built QEMU Date: Wed, 2 Sep 2026 15:35:36 -0400 Message-ID: <20260902193551.582660-2-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, 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: 1788377822689154100 In 05e4982, we updated our QMP tests to prefer `-object monitor-qmp`, but this requires a sufficiently recent and modern version of QEMU to run correctly. Update the "make vm-build-xxx" targets to use the runscript that will naturally prefer the locally built version of QEMU so that these tests launch successfully once more. Fixes: 05e4982 ("tests: switch from -mon to -object monitor-qmp") Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 Message-ID: <20260825215851.1780608-2-jsnow@redhat.com> Signed-off-by: John Snow --- tests/vm/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 0a53dc9fdd6..0ec1b47e63e 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -5,7 +5,7 @@ ifeq ($(realpath $(SRC_PATH)),$(realpath .)) VM_PYTHON =3D $(SRC_PATH)/vm-venv/bin/python3 VM_VENV =3D vm-venv else -VM_PYTHON =3D $(PYTHON) +VM_PYTHON =3D $(BUILD_DIR)/run $(PYTHON) VM_VENV =3D endif =20 --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377875; cv=none; d=zohomail.com; s=zohoarc; b=QXy0CQCWs5QmcM+cKvy2x1+YfPCgqndX7SHAqtU6fncplbN5D2CoFp+ExJUg6/2+0Z+aYoYjcDewSbHokk/MBGEgHFGAdrdlkXmwssNjIN+P/fPrAZrM3410wmMtqMh8UyAX2qCNEQ3aEXu+sL83RFVH8I3itNMR26YFgkKk1o8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377875; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=1Ic5IaMsLZ4c0vCDeMWdadQJ9Q2qNESSYIhn9OI8cRk=; b=gUpLXb7DepbM9fLlarqxKCPafLF4zuaNJEdtN+baeyfrfw1Us6PRSRy7E2EFSVmJ6I5ogKrXD4aRQujkBdvgNW1vH6QtCNjm/y5ivxZbSGq3vBdykFCXAw/d/wik97g2UcwDaLrbakYaMTNnLw2WojNqIOUGgqvLPCL9AhUWOZ0= 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 1788377875197656.4605034725532; Wed, 2 Sep 2026 12:37:55 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1ql1-0001Qy-Mf; Wed, 02 Sep 2026 15:36:27 -0400 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 1x1qkw-0001QN-1z for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1qku-0004kF-1O for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:21 -0400 Received: from mx-prod-mc-03.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-477-xaEBogNINOCaAU1huf3K_g-1; Wed, 02 Sep 2026 15:36:15 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7F4911944B0B; Wed, 2 Sep 2026 19:36:12 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7442F180063E; Wed, 2 Sep 2026 19:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1Ic5IaMsLZ4c0vCDeMWdadQJ9Q2qNESSYIhn9OI8cRk=; b=FKX/SS04QpW4+ctZouUr+gCyxSUj02fjA3MjoRkKozVISonLOLDYEl/a2/BYtxdYs5up/i oyWXd6Ri6b59WApLmozQe1/38uui/W6YcpcYb2rUWwAA935jglRvdNJgrv1R8Nia5U52C5 Ok2ejgCM5znMGrTj/HDX9nPPAuRNFJs= X-MC-Unique: xaEBogNINOCaAU1huf3K_g-1 X-Mimecast-MFC-AGG-ID: xaEBogNINOCaAU1huf3K_g_1788377773 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 02/16] tests: update libvirt-ci, lcitool Date: Wed, 2 Sep 2026 15:35:37 -0400 Message-ID: <20260902193551.582660-3-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=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: 1788377876965154100 Update libvirt-ci to current origin/master for the primary sake of grabbing new mappings for FreeBSD, which has upgraded from Python 3.11 to 3.12 and along with it changed the name of their python ecosystem packages. Refresh the lcitool generated files to fix our FreeBSD tests. Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 Message-ID: <20260825215851.1780608-3-jsnow@redhat.com> Signed-off-by: John Snow --- tests/docker/dockerfiles/debian-amd64-cross.docker | 2 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 2 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 2 +- tests/docker/dockerfiles/debian-i686-cross.docker | 2 +- tests/docker/dockerfiles/debian-ppc64el-cross.docker | 2 +- tests/docker/dockerfiles/debian-riscv64-cross.docker | 2 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 2 +- tests/docker/dockerfiles/debian.docker | 2 +- tests/docker/dockerfiles/opensuse-leap.docker | 2 +- tests/docker/dockerfiles/ubuntu2404.docker | 2 +- scripts/ci/setup/debian/debian-13-ppc64le.yaml | 2 +- scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml | 2 +- scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml | 2 +- tests/lcitool/libvirt-ci | 2 +- tests/vm/generated/freebsd.json | 12 ++++++------ 15 files changed, 20 insertions(+), 20 deletions(-) diff --git a/tests/docker/dockerfiles/debian-amd64-cross.docker b/tests/doc= ker/dockerfiles/debian-amd64-cross.docker index 9e30457ca79..e945e641e20 100644 --- a/tests/docker/dockerfiles/debian-amd64-cross.docker +++ b/tests/docker/dockerfiles/debian-amd64-cross.docker @@ -130,7 +130,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:amd64 \ libsdl2-image-dev:amd64 \ libseccomp-dev:amd64 \ - libselinux1-dev:amd64 \ + libselinux-dev:amd64 \ libslirp-dev:amd64 \ libsnappy-dev:amd64 \ libsndio-dev:amd64 \ diff --git a/tests/docker/dockerfiles/debian-arm64-cross.docker b/tests/doc= ker/dockerfiles/debian-arm64-cross.docker index b9b94e5e6fa..0ee3a3f61c4 100644 --- a/tests/docker/dockerfiles/debian-arm64-cross.docker +++ b/tests/docker/dockerfiles/debian-arm64-cross.docker @@ -129,7 +129,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:arm64 \ libsdl2-image-dev:arm64 \ libseccomp-dev:arm64 \ - libselinux1-dev:arm64 \ + libselinux-dev:arm64 \ libslirp-dev:arm64 \ libsnappy-dev:arm64 \ libsndio-dev:arm64 \ diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/doc= ker/dockerfiles/debian-armhf-cross.docker index aa412ff66f5..aacc1846801 100644 --- a/tests/docker/dockerfiles/debian-armhf-cross.docker +++ b/tests/docker/dockerfiles/debian-armhf-cross.docker @@ -128,7 +128,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:armhf \ libsdl2-image-dev:armhf \ libseccomp-dev:armhf \ - libselinux1-dev:armhf \ + libselinux-dev:armhf \ libslirp-dev:armhf \ libsnappy-dev:armhf \ libsndio-dev:armhf \ diff --git a/tests/docker/dockerfiles/debian-i686-cross.docker b/tests/dock= er/dockerfiles/debian-i686-cross.docker index d07eac84fe8..476031bd4db 100644 --- a/tests/docker/dockerfiles/debian-i686-cross.docker +++ b/tests/docker/dockerfiles/debian-i686-cross.docker @@ -128,7 +128,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:i386 \ libsdl2-image-dev:i386 \ libseccomp-dev:i386 \ - libselinux1-dev:i386 \ + libselinux-dev:i386 \ libslirp-dev:i386 \ libsnappy-dev:i386 \ libsndio-dev:i386 \ diff --git a/tests/docker/dockerfiles/debian-ppc64el-cross.docker b/tests/d= ocker/dockerfiles/debian-ppc64el-cross.docker index 7302c8236e4..87e24d4dc0f 100644 --- a/tests/docker/dockerfiles/debian-ppc64el-cross.docker +++ b/tests/docker/dockerfiles/debian-ppc64el-cross.docker @@ -129,7 +129,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:ppc64el \ libsdl2-image-dev:ppc64el \ libseccomp-dev:ppc64el \ - libselinux1-dev:ppc64el \ + libselinux-dev:ppc64el \ libslirp-dev:ppc64el \ libsnappy-dev:ppc64el \ libsndio-dev:ppc64el \ diff --git a/tests/docker/dockerfiles/debian-riscv64-cross.docker b/tests/d= ocker/dockerfiles/debian-riscv64-cross.docker index aa5a881cab2..d0a9805f864 100644 --- a/tests/docker/dockerfiles/debian-riscv64-cross.docker +++ b/tests/docker/dockerfiles/debian-riscv64-cross.docker @@ -129,7 +129,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:riscv64 \ libsdl2-image-dev:riscv64 \ libseccomp-dev:riscv64 \ - libselinux1-dev:riscv64 \ + libselinux-dev:riscv64 \ libslirp-dev:riscv64 \ libsnappy-dev:riscv64 \ libsndio-dev:riscv64 \ diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/doc= ker/dockerfiles/debian-s390x-cross.docker index 82eae4fc2c2..179be9573d7 100644 --- a/tests/docker/dockerfiles/debian-s390x-cross.docker +++ b/tests/docker/dockerfiles/debian-s390x-cross.docker @@ -129,7 +129,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev:s390x \ libsdl2-image-dev:s390x \ libseccomp-dev:s390x \ - libselinux1-dev:s390x \ + libselinux-dev:s390x \ libslirp-dev:s390x \ libsnappy-dev:s390x \ libsndio-dev:s390x \ diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfi= les/debian.docker index 3a4f208ccf6..56605a42a2f 100644 --- a/tests/docker/dockerfiles/debian.docker +++ b/tests/docker/dockerfiles/debian.docker @@ -82,7 +82,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev \ libsdl2-image-dev \ libseccomp-dev \ - libselinux1-dev \ + libselinux-dev \ libslirp-dev \ libsnappy-dev \ libsndio-dev \ diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/d= ockerfiles/opensuse-leap.docker index 8d8631bbcf0..a634f39c1ec 100644 --- a/tests/docker/dockerfiles/opensuse-leap.docker +++ b/tests/docker/dockerfiles/opensuse-leap.docker @@ -7,7 +7,7 @@ FROM registry.opensuse.org/opensuse/leap:16.0 =20 RUN zypper update -y && \ - zypper install -y \ + zypper install -y --allow-downgrade \ Mesa-devel \ alsa-lib-devel \ bash \ diff --git a/tests/docker/dockerfiles/ubuntu2404.docker b/tests/docker/dock= erfiles/ubuntu2404.docker index a5c22231f98..d80f3a33d3b 100644 --- a/tests/docker/dockerfiles/ubuntu2404.docker +++ b/tests/docker/dockerfiles/ubuntu2404.docker @@ -82,7 +82,7 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ libsdl2-dev \ libsdl2-image-dev \ libseccomp-dev \ - libselinux1-dev \ + libselinux-dev \ libslirp-dev \ libsnappy-dev \ libsndio-dev \ diff --git a/scripts/ci/setup/debian/debian-13-ppc64le.yaml b/scripts/ci/se= tup/debian/debian-13-ppc64le.yaml index 9acd99a7433..c4d229830b6 100644 --- a/scripts/ci/setup/debian/debian-13-ppc64le.yaml +++ b/scripts/ci/setup/debian/debian-13-ppc64le.yaml @@ -75,7 +75,7 @@ packages: - libsdl2-dev - libsdl2-image-dev - libseccomp-dev - - libselinux1-dev + - libselinux-dev - libslirp-dev - libsnappy-dev - libsndio-dev diff --git a/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml b/scripts/ci/= setup/ubuntu/ubuntu-2404-aarch64.yaml index 5c948109df8..f6fa68d476f 100644 --- a/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml +++ b/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml @@ -75,7 +75,7 @@ packages: - libsdl2-dev - libsdl2-image-dev - libseccomp-dev - - libselinux1-dev + - libselinux-dev - libslirp-dev - libsnappy-dev - libsndio-dev diff --git a/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml b/scripts/ci/se= tup/ubuntu/ubuntu-2404-s390x.yaml index 010b7f86aab..6c4cefe97e5 100644 --- a/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml +++ b/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml @@ -75,7 +75,7 @@ packages: - libsdl2-dev - libsdl2-image-dev - libseccomp-dev - - libselinux1-dev + - libselinux-dev - libslirp-dev - libsnappy-dev - libsndio-dev diff --git a/tests/lcitool/libvirt-ci b/tests/lcitool/libvirt-ci index 5176e136ab1..76b5dd5b5c8 160000 --- a/tests/lcitool/libvirt-ci +++ b/tests/lcitool/libvirt-ci @@ -1 +1 @@ -Subproject commit 5176e136ab11e275eb9f57c3d5c80e77af6507cb +Subproject commit 76b5dd5b5c84511e2e799c2b3d6a2a9b9f6a081d diff --git a/tests/vm/generated/freebsd.json b/tests/vm/generated/freebsd.j= son index dfa8b41a524..ee3402f0d2b 100644 --- a/tests/vm/generated/freebsd.json +++ b/tests/vm/generated/freebsd.json @@ -52,12 +52,12 @@ "pixman", "pkgconf", "png", - "py311-pip", - "py311-setuptools", - "py311-sphinx", - "py311-sphinx_rtd_theme", - "py311-tomli", - "py311-wheel", + "py312-pip", + "py312-setuptools", + "py312-sphinx", + "py312-sphinx_rtd_theme", + "py312-tomli", + "py312-wheel", "python3", "rpm2cpio", "rust", --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377845; cv=none; d=zohomail.com; s=zohoarc; b=VgKGKiMUWY5toJYx0KkTt2aEg/jEnObRPLJnKm7JDHRsPQTpAImcBwmY3HlbJW9W8ofMhFp0ByuwaealyhFQOUFz/bxEqa84P7rUXKAIvNvXP6gGzs8w+22RJX5buGi+TKppXeIQO0O23q2Vbwi4naQOppKoXUaf5bG8nsKSPrc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377845; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=y1NoOXzh82fpbXUzUhzv9qGmJTvuME1d5tRgECKyDk0=; b=MPnYp67JcaZwO4cABfwJ4itb/vA25Epg4QMNa9ED/keCSXBR1GqzBVkA7q76Fsz8ulYeuzTV+UyJsvCk5O573R74/3NcfL0hBbNPD9/zlMiSMKH1xFQ1wec1RIqwQlFBrHNJWsZAHX62CcAQQYo/Qn8OJg6jcmFLPtG0RkR5MYw= 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 1788377845536553.0477167265718; Wed, 2 Sep 2026 12:37:25 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlE-0001TW-TU; Wed, 02 Sep 2026 15:36:40 -0400 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 1x1ql3-0001Rh-Mv for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1ql2-0004ks-B9 for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:29 -0400 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-491-Ib04HGxbMSOCXCYxhTZzjA-1; Wed, 02 Sep 2026 15:36:22 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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 F3B92195DE4B; Wed, 2 Sep 2026 19:36:18 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4EFC51800261; Wed, 2 Sep 2026 19:36:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y1NoOXzh82fpbXUzUhzv9qGmJTvuME1d5tRgECKyDk0=; b=R3NpQrX0EFdgQTUh4WTax8JqnYAdvvmbQVe4SYGZqjZhEX1YRQl007vF8Ye2BtSjTdDRq9 +qxnHoychPwgoKe2ltrZQQ9J4Lw94QsPUBAKQ123q0ruuEIR2VNP7njA/K0gIa+EqIMmi2 HuH1G44jtSADfuk4EJUODPUCSg1M0sc= X-MC-Unique: Ib04HGxbMSOCXCYxhTZzjA-1 X-Mimecast-MFC-AGG-ID: Ib04HGxbMSOCXCYxhTZzjA_1788377779 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 03/16] tests: update netbsd dependencies Date: Wed, 2 Sep 2026 15:35:38 -0400 Message-ID: <20260902193551.582660-4-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=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: 1788377849071154100 NetBSD appears to need 'bison' explicitly installed now. I am still seeing some intermittant failures in the tests for ide-test and qos-test, but those are mysteries for another day. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Daniel P. Berrang=C3=A9 Message-ID: <20260825215851.1780608-4-jsnow@redhat.com> Signed-off-by: John Snow --- tests/vm/netbsd | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/vm/netbsd b/tests/vm/netbsd index b365045066c..45afe675e17 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -39,6 +39,7 @@ class NetBSDVM(basevm.BaseVM): "gmake", "gsed", "gettext-tools", + "bison", =20 # libs: basic "dtc", --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377823; cv=none; d=zohomail.com; s=zohoarc; b=kemfimdS0iqt0bAsVpvxg6GNYemyKDJSSwF/LoBfS4TzbcFTmH7D52+T0zA1dzKJnYGjYdkNTZTR+sgi9pNQGG+JHhLW4hBY32bt1XoPKp/sWwX+awy6Qv2udOGWaUqFOsP3SQ+2SG6PX9y/IbS0bjGqJKFIM5ifprHPEt6Jj+g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377823; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=D8PyC3Z2JTDGNfzbEmXpDYKba/XvlnHWckYliq8Wozo=; b=Mb7ciXeRNNdoPadvpttCIIhtg46UshX/zart95mFTdG8O4ga/wXrJJolB6gDbaOzDVeq4h0yKs0NbbhAcxvX8NRHKMEfb0rpqBbo9iZh5O8I2/jBiJzy8VrmLY0T3lE1tcyIJzPkPZzqB28kvKi35V3SKEJzv7idCi8BAs6uWoE= 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 1788377823005745.7765968378643; Wed, 2 Sep 2026 12:37:03 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlF-0001TZ-IS; Wed, 02 Sep 2026 15:36:41 -0400 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 1x1qlB-0001Sq-Mv for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:39 -0400 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 1x1ql8-0004lP-Rk for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:35 -0400 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-678-Vr9iserrO7uNHQSge4MJaA-1; Wed, 02 Sep 2026 15:36:28 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 16CF81843AC0; Wed, 2 Sep 2026 19:36:26 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 63C30180063E; Wed, 2 Sep 2026 19:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D8PyC3Z2JTDGNfzbEmXpDYKba/XvlnHWckYliq8Wozo=; b=MK3rNf+3r/lEI2KTCarYsYRUont1gPZcMbPlIaf5wBrEqt2UziB36wYqNB3yisWFo+bYpq PJDjQIDuJOfpHfdxkeNL46t2vS6x30LX+/W4wG8d4yd9poihHVje+0MQZil24qt+pTQqUy tahIcLoFo7i8UOVQlhqe+MhbUMbzlF8= X-MC-Unique: Vr9iserrO7uNHQSge4MJaA-1 X-Mimecast-MFC-AGG-ID: Vr9iserrO7uNHQSge4MJaA_1788377786 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 04/16] tests: drop python3-devel mapping Date: Wed, 2 Sep 2026 15:35:39 -0400 Message-ID: <20260902193551.582660-5-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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: 1788377824850158500 This is not being used, so drop it. Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 Message-ID: <20260825215851.1780608-5-jsnow@redhat.com> Signed-off-by: John Snow --- tests/lcitool/mappings.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/lcitool/mappings.yml b/tests/lcitool/mappings.yml index 1816556dde4..d2d40613167 100644 --- a/tests/lcitool/mappings.yml +++ b/tests/lcitool/mappings.yml @@ -6,9 +6,6 @@ mappings: python3: CentOSStream9: python3.11 =20 - python3-devel: - CentOSStream9: python3.11-devel - python3-pip: CentOSStream9: python3.11-pip =20 --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377846; cv=none; d=zohomail.com; s=zohoarc; b=kWpNPUxPdgQ3SyOKeduVgunlFmfT2BszOWkKDTOo96OoqQTEiP2w/W0glm+IBxgzZHWuLoQR33C4t40XgVR8K+4hPnElfJ3VwBKs5n+mGAzoOVvvmaHB3ctedrmDRgnIBOz9C+P+Gg+UTgpTs1yuoYPBz88meKmQtZtVxujg17I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377846; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=SGLOrSzG9c3u9u3hVaokUSWoZO/CEp0iyBTiEJt2T8c=; b=OJIA2xT894ftRTiFG4kqQgn1htmvBELKpsTyHtkSonC5u8XRbQ6nrR0hq6I237O9tHhqGnf0Gq5lCAzMZ/YbKGZLKvl9G/8IDO0I3rep51CyRXts71XZrsA7ruJ70FR161a/o8RxPzw03ichdyhUnN0xSd78jGMCifuvyx2PanM= 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 1788377846573769.0504848386357; Wed, 2 Sep 2026 12:37:26 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlJ-0001US-15; Wed, 02 Sep 2026 15:36:45 -0400 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 1x1qlH-0001U9-Gl for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:43 -0400 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 1x1qlE-0004lt-3M for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:43 -0400 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-520-d31vOxjbPNeSVP_RoS2yLQ-1; Wed, 02 Sep 2026 15:36:36 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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 B537919540DA; Wed, 2 Sep 2026 19:36:33 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 94CC81800261; Wed, 2 Sep 2026 19:36:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SGLOrSzG9c3u9u3hVaokUSWoZO/CEp0iyBTiEJt2T8c=; b=JHlH+ESpwYwjPVfulxKaP0HWkKOQ/nwBncD3hyNXtZo8ZRvPIMp9Z8zr+vSQVu+aHmQnqR vk2vKAU1PRvbk6yCF7woVynvkjRlsW3EtcNTb3SY60kU4Rc5+a4coZ/FpLaziM3W3wsPiE dyhivQnLWPJy1sQmTL6BdrnWO1lGG34= X-MC-Unique: d31vOxjbPNeSVP_RoS2yLQ-1 X-Mimecast-MFC-AGG-ID: d31vOxjbPNeSVP_RoS2yLQ_1788377793 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 05/16] tests: re-add opencv2 and numpy dependencies Date: Wed, 2 Sep 2026 15:35:40 -0400 Message-ID: <20260902193551.582660-6-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, 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: 1788377849937158500 Fixes: 2a428c8541ec5e9be54aad5f0a446ec8172226c9 Some of the dependencies identified as avocado dependencies were in fact still being used, and should be re-added to our lcitool configuration to ensure that these tests are being executed in the CI environment. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-ID: <20260825215851.1780608-6-jsnow@redhat.com> Signed-off-by: John Snow --- tests/docker/dockerfiles/alpine.docker | 1 + tests/docker/dockerfiles/centos9.docker | 2 ++ tests/docker/dockerfiles/debian-amd64-cross.docker | 2 ++ tests/docker/dockerfiles/debian-arm64-cross.docker | 2 ++ tests/docker/dockerfiles/debian-armhf-cross.docker | 2 ++ tests/docker/dockerfiles/debian-i686-cross.docker | 2 ++ tests/docker/dockerfiles/debian-ppc64el-cross.docker | 2 ++ tests/docker/dockerfiles/debian-riscv64-cross.docker | 2 ++ tests/docker/dockerfiles/debian-s390x-cross.docker | 2 ++ tests/docker/dockerfiles/debian.docker | 2 ++ tests/docker/dockerfiles/fedora-rust-nightly.docker | 2 ++ tests/docker/dockerfiles/fedora-win64-cross.docker | 2 ++ tests/docker/dockerfiles/fedora.docker | 2 ++ tests/docker/dockerfiles/opensuse-leap.docker | 2 ++ tests/docker/dockerfiles/ubuntu2404.docker | 2 ++ .gitlab-ci.d/macos-14.vars | 2 +- scripts/ci/setup/debian/debian-13-ppc64le.yaml | 2 ++ scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml | 2 ++ scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml | 2 ++ tests/lcitool/mappings.yml | 12 ++++++++++++ tests/lcitool/projects/qemu.yml | 2 ++ tests/vm/generated/freebsd.json | 2 ++ 22 files changed, 52 insertions(+), 1 deletion(-) diff --git a/tests/docker/dockerfiles/alpine.docker b/tests/docker/dockerfi= les/alpine.docker index 8a5a355e89a..7c342e801c5 100644 --- a/tests/docker/dockerfiles/alpine.docker +++ b/tests/docker/dockerfiles/alpine.docker @@ -83,6 +83,7 @@ RUN apk update && \ pixman-dev \ pkgconf \ pulseaudio-dev \ + py3-numpy \ py3-pip \ py3-setuptools \ py3-sphinx \ diff --git a/tests/docker/dockerfiles/centos9.docker b/tests/docker/dockerf= iles/centos9.docker index 8101370a2db..6f5c400c2db 100644 --- a/tests/docker/dockerfiles/centos9.docker +++ b/tests/docker/dockerfiles/centos9.docker @@ -130,6 +130,8 @@ RUN dnf --quiet distro-sync -y && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc =20 RUN /usr/bin/pip3.11 install \ + numpy \ + opencv-python \ sphinx \ sphinx-rtd-theme =20 diff --git a/tests/docker/dockerfiles/debian-amd64-cross.docker b/tests/doc= ker/dockerfiles/debian-amd64-cross.docker index e945e641e20..975b9f346e6 100644 --- a/tests/docker/dockerfiles/debian-amd64-cross.docker +++ b/tests/docker/dockerfiles/debian-amd64-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian-arm64-cross.docker b/tests/doc= ker/dockerfiles/debian-arm64-cross.docker index 0ee3a3f61c4..3efce404827 100644 --- a/tests/docker/dockerfiles/debian-arm64-cross.docker +++ b/tests/docker/dockerfiles/debian-arm64-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/doc= ker/dockerfiles/debian-armhf-cross.docker index aacc1846801..91e8587b5d4 100644 --- a/tests/docker/dockerfiles/debian-armhf-cross.docker +++ b/tests/docker/dockerfiles/debian-armhf-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian-i686-cross.docker b/tests/dock= er/dockerfiles/debian-i686-cross.docker index 476031bd4db..a60b72e05b9 100644 --- a/tests/docker/dockerfiles/debian-i686-cross.docker +++ b/tests/docker/dockerfiles/debian-i686-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian-ppc64el-cross.docker b/tests/d= ocker/dockerfiles/debian-ppc64el-cross.docker index 87e24d4dc0f..a7599b4f618 100644 --- a/tests/docker/dockerfiles/debian-ppc64el-cross.docker +++ b/tests/docker/dockerfiles/debian-ppc64el-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian-riscv64-cross.docker b/tests/d= ocker/dockerfiles/debian-riscv64-cross.docker index d0a9805f864..52661d4d9e4 100644 --- a/tests/docker/dockerfiles/debian-riscv64-cross.docker +++ b/tests/docker/dockerfiles/debian-riscv64-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/doc= ker/dockerfiles/debian-s390x-cross.docker index 179be9573d7..0a04777b363 100644 --- a/tests/docker/dockerfiles/debian-s390x-cross.docker +++ b/tests/docker/dockerfiles/debian-s390x-cross.docker @@ -41,6 +41,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfi= les/debian.docker index 56605a42a2f..77869f71546 100644 --- a/tests/docker/dockerfiles/debian.docker +++ b/tests/docker/dockerfiles/debian.docker @@ -113,6 +113,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/fedora-rust-nightly.docker b/tests/do= cker/dockerfiles/fedora-rust-nightly.docker index 0f3dc370a4f..0f7b4c13388 100644 --- a/tests/docker/dockerfiles/fedora-rust-nightly.docker +++ b/tests/docker/dockerfiles/fedora-rust-nightly.docker @@ -104,6 +104,8 @@ exec "$@"\n' > /usr/bin/nosync && \ pkgconfig \ pulseaudio-libs-devel \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/fedora-win64-cross.docker b/tests/doc= ker/dockerfiles/fedora-win64-cross.docker index 6f972f61738..3ed3e15df33 100644 --- a/tests/docker/dockerfiles/fedora-win64-cross.docker +++ b/tests/docker/dockerfiles/fedora-win64-cross.docker @@ -44,6 +44,8 @@ exec "$@"\n' > /usr/bin/nosync && \ ninja-build \ openssh-clients \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfi= les/fedora.docker index 99bb38a3665..8fa8bea1abf 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -104,6 +104,8 @@ exec "$@"\n' > /usr/bin/nosync && \ pkgconfig \ pulseaudio-libs-devel \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/d= ockerfiles/opensuse-leap.docker index a634f39c1ec..3a3d6f73c89 100644 --- a/tests/docker/dockerfiles/opensuse-leap.docker +++ b/tests/docker/dockerfiles/opensuse-leap.docker @@ -95,6 +95,8 @@ RUN zypper update -y && \ pkgconfig \ python3-Sphinx \ python3-base \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx_rtd_theme \ diff --git a/tests/docker/dockerfiles/ubuntu2404.docker b/tests/docker/dock= erfiles/ubuntu2404.docker index d80f3a33d3b..bb8f4e4e53f 100644 --- a/tests/docker/dockerfiles/ubuntu2404.docker +++ b/tests/docker/dockerfiles/ubuntu2404.docker @@ -113,6 +113,8 @@ RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ openssh-client \ pkgconf \ python3 \ + python3-numpy \ + python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx \ diff --git a/.gitlab-ci.d/macos-14.vars b/.gitlab-ci.d/macos-14.vars index 0c187624dd0..f96e173f663 100644 --- a/.gitlab-ci.d/macos-14.vars +++ b/.gitlab-ci.d/macos-14.vars @@ -12,5 +12,5 @@ NINJA=3D'/opt/homebrew/bin/ninja' PACKAGING_COMMAND=3D'brew' PIP3=3D'/opt/homebrew/bin/pip3' PKGS=3D'bash bc bindgen bison bzip2 capstone ccache cmocka coreutils ctags= curl dbus diffutils dtc flex gcovr gettext git glib gnu-sed gnutls gtk+3 g= tk-vnc jemalloc jpeg-turbo json-c libcbor libepoxy libffi libgcrypt libiscs= i libnfs libpng libslirp libssh libtasn1 libusb llvm lzo make meson mtools = ncurses nettle ninja pixman pkg-config python-setuptools python3 rpm2cpio r= ust sdl2 sdl2_image snappy socat sparse spice-protocol swtpm tesseract usbr= edir vde vte3 vulkan-tools xorriso zlib zstd' -PYPI_PKGS=3D'sphinx sphinx-rtd-theme tomli' +PYPI_PKGS=3D'numpy sphinx sphinx-rtd-theme tomli' PYTHON=3D'/opt/homebrew/bin/python3' diff --git a/scripts/ci/setup/debian/debian-13-ppc64le.yaml b/scripts/ci/se= tup/debian/debian-13-ppc64le.yaml index c4d229830b6..86c6d8bac0f 100644 --- a/scripts/ci/setup/debian/debian-13-ppc64le.yaml +++ b/scripts/ci/setup/debian/debian-13-ppc64le.yaml @@ -105,6 +105,8 @@ packages: - openssh-client - pkgconf - python3 + - python3-numpy + - python3-opencv - python3-pip - python3-setuptools - python3-sphinx diff --git a/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml b/scripts/ci/= setup/ubuntu/ubuntu-2404-aarch64.yaml index f6fa68d476f..cbdc56369fa 100644 --- a/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml +++ b/scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml @@ -106,6 +106,8 @@ packages: - openssh-client - pkgconf - python3 + - python3-numpy + - python3-opencv - python3-pip - python3-setuptools - python3-sphinx diff --git a/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml b/scripts/ci/se= tup/ubuntu/ubuntu-2404-s390x.yaml index 6c4cefe97e5..2ce56537208 100644 --- a/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml +++ b/scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml @@ -104,6 +104,8 @@ packages: - openssh-client - pkgconf - python3 + - python3-numpy + - python3-opencv - python3-pip - python3-setuptools - python3-sphinx diff --git a/tests/lcitool/mappings.yml b/tests/lcitool/mappings.yml index d2d40613167..cb56cdb3da1 100644 --- a/tests/lcitool/mappings.yml +++ b/tests/lcitool/mappings.yml @@ -18,12 +18,18 @@ mappings: python3-sphinx-rtd-theme: CentOSStream9: =20 + python3-opencv: + CentOSStream9: + python3-venv: CentOSStream9: python3.11 =20 python3-wheel: CentOSStream9: python3.11-wheel =20 + python3-numpy: + CentOSStream9: + meson: # Use Meson from PyPI wherever Rust is enabled Debian: @@ -51,3 +57,9 @@ pypi_mappings: apk: Fedora: Debian12: + + python3-numpy: + CentOSStream9: numpy + + python3-opencv: + CentOSStream9: opencv-python diff --git a/tests/lcitool/projects/qemu.yml b/tests/lcitool/projects/qemu.= yml index b3c99936723..abbd3e3f0b8 100644 --- a/tests/lcitool/projects/qemu.yml +++ b/tests/lcitool/projects/qemu.yml @@ -91,6 +91,8 @@ packages: - pkg-config - pulseaudio - python3 + - python3-numpy + - python3-opencv - python3-pip - python3-setuptools - python3-sphinx diff --git a/tests/vm/generated/freebsd.json b/tests/vm/generated/freebsd.j= son index ee3402f0d2b..c35591b39d6 100644 --- a/tests/vm/generated/freebsd.json +++ b/tests/vm/generated/freebsd.json @@ -49,9 +49,11 @@ "ncurses", "nettle", "ninja", + "opencv", "pixman", "pkgconf", "png", + "py312-numpy", "py312-pip", "py312-setuptools", "py312-sphinx", --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377857; cv=none; d=zohomail.com; s=zohoarc; b=SbnPUefE0WznVudtxSoSeazOBrbklJphnkIa6Hjute+Pk+HbRi6zZhKpZPnozPm9Bbms7NUrIPrbmW99riV6900eYKvxNN9wYaxbBXdnUesrdWhbioEWogrt9MKdhdupKQ89c93PsAkRjO+TxL6VNxhPeFepUEy+Gbyn2QQwJaU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377857; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=IScl4ymDcWi7vUFYlQodu0K2mUJ8yqPYvAkugoMHSlk=; b=n9k7gYjtCj28GVIMzaYB6dr83JBq/tiFD1Q13+U4Nc5NbpxZL87YPPFm5ml4VuhWQamKFNk3BQEHiuVXwpDLo1iMsMlXp1ChTBm18tE6zyGkmJVo2HwUn5W/FiJ8LwTedZ7a7IHnH3Qmh1vlFDPaDkMYb09EjKsKctEpENyOpJ0= 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 1788377857808412.4915222358833; Wed, 2 Sep 2026 12:37:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlM-0001Vp-36; Wed, 02 Sep 2026 15:36:48 -0400 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 1x1qlL-0001VT-5H for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1qlJ-0004mV-JM for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:46 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-223-1-jbPDGfP16tLfO8HOzfJA-1; Wed, 02 Sep 2026 15:36:41 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 44AEB183F9D4; Wed, 2 Sep 2026 19:36:39 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 08086180063E; Wed, 2 Sep 2026 19:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IScl4ymDcWi7vUFYlQodu0K2mUJ8yqPYvAkugoMHSlk=; b=ftDWsKyyISy5O58XWVu7EW5pGvY5tIu2+UVnO7xhVU3Wensq99jbu04HEXakMtRu8KShaM GV71nfX/e2QZ2AGzJkwoXfhsYDNep3Me/HMoNnTyN5YHc2b1k5sfpgdbONZyhltfzQu1F3 vxvMi5moelGy6fxq1KDL9J6ceLka7UM= X-MC-Unique: 1-jbPDGfP16tLfO8HOzfJA-1 X-Mimecast-MFC-AGG-ID: 1-jbPDGfP16tLfO8HOzfJA_1788377799 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 06/16] tests: add Python3.12 to centos9.docker Date: Wed, 2 Sep 2026 15:35:41 -0400 Message-ID: <20260902193551.582660-7-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: 1788377858939158500 While we recently upgraded to Python 3.11 for the CentOS 9 container, upgrade it EVEN FURTHER BEYOND... to Python 3.12. Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 Message-ID: <20260825215851.1780608-7-jsnow@redhat.com> Signed-off-by: John Snow --- tests/docker/dockerfiles/centos9.docker | 12 ++++++------ tests/lcitool/mappings.yml | 10 +++++----- tests/lcitool/targets/centos-stream-9.yml | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/docker/dockerfiles/centos9.docker b/tests/docker/dockerf= iles/centos9.docker index 6f5c400c2db..8bfce395f9d 100644 --- a/tests/docker/dockerfiles/centos9.docker +++ b/tests/docker/dockerfiles/centos9.docker @@ -96,10 +96,10 @@ RUN dnf --quiet distro-sync -y && \ pkgconfig \ pulseaudio-libs-devel \ python3-tomli \ - python3.11 \ - python3.11-pip \ - python3.11-setuptools \ - python3.11-wheel \ + python3.12 \ + python3.12-pip \ + python3.12-setuptools \ + python3.12-wheel \ rdma-core-devel \ rust \ rust-std-static \ @@ -129,7 +129,7 @@ RUN dnf --quiet distro-sync -y && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc =20 -RUN /usr/bin/pip3.11 install \ +RUN /usr/bin/pip3.12 install \ numpy \ opencv-python \ sphinx \ @@ -139,7 +139,7 @@ ENV CCACHE_WRAPPERSDIR=3D"/usr/libexec/ccache-wrappers" ENV LANG=3D"en_US.UTF-8" ENV MAKE=3D"/usr/bin/make" ENV NINJA=3D"/usr/bin/ninja" -ENV PYTHON=3D"/usr/bin/python3.11" +ENV PYTHON=3D"/usr/bin/python3.12" # As a final step configure the user (if env is defined) ARG USER ARG UID diff --git a/tests/lcitool/mappings.yml b/tests/lcitool/mappings.yml index cb56cdb3da1..c99f007798e 100644 --- a/tests/lcitool/mappings.yml +++ b/tests/lcitool/mappings.yml @@ -4,13 +4,13 @@ mappings: Ubuntu2204: =20 python3: - CentOSStream9: python3.11 + CentOSStream9: python3.12 =20 python3-pip: - CentOSStream9: python3.11-pip + CentOSStream9: python3.12-pip =20 python3-setuptools: - CentOSStream9: python3.11-setuptools + CentOSStream9: python3.12-setuptools =20 python3-sphinx: CentOSStream9: @@ -22,10 +22,10 @@ mappings: CentOSStream9: =20 python3-venv: - CentOSStream9: python3.11 + CentOSStream9: python3.12 =20 python3-wheel: - CentOSStream9: python3.11-wheel + CentOSStream9: python3.12-wheel =20 python3-numpy: CentOSStream9: diff --git a/tests/lcitool/targets/centos-stream-9.yml b/tests/lcitool/targ= ets/centos-stream-9.yml index c2d87f6cb4d..0d6801fd9a3 100644 --- a/tests/lcitool/targets/centos-stream-9.yml +++ b/tests/lcitool/targets/centos-stream-9.yml @@ -1,3 +1,3 @@ paths: - pip3: /usr/bin/pip3.11 - python: /usr/bin/python3.11 + pip3: /usr/bin/pip3.12 + python: /usr/bin/python3.12 --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377856; cv=none; d=zohomail.com; s=zohoarc; b=CKhqIkFsEoCPIM0xEa8YoyhPSyLwp2jFwyJ28egQIqBHwOq7qz2XPQVrEKQ5/RrfYc8rsZr1j5SDhk88wuH4K/HbrSP39LJuVEoX+uqOmH6ckj9l+EMtsz0V6in+KVBrzGsnrRQYvi5WuxprkDdG6cijRA/q+cucfwJhxUTRoBE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377856; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=b0Ym/e4Oh8SRPNk2Z6PCMv9V9dUYNLq0e42cWHIKNbM=; b=m8Oz3RBgO1ZNNGboP/xi5JzEmJfzggjCQYvpwZ0C0LI9eA1KuroUSVTWTAf4WoOvX0cmavjQkulxZ2POCwFJNnGinjsgI/B21suJjOAUSoi9dXuJUnN9Ri94QEhKro0s6mSPMDhVkjP5wG+JMcu1W/H/taYBsMbnp5213CNsTv0= 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 1788377856292239.03367308069437; Wed, 2 Sep 2026 12:37:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlV-0001aT-KS; Wed, 02 Sep 2026 15:36:57 -0400 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 1x1qlU-0001a5-T6 for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:56 -0400 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 1x1qlP-0004nF-Rc for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:36:56 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-402-xh6cBPItMFu5oY0bZPkXzQ-1; Wed, 02 Sep 2026 15:36:48 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E29261828B1D; Wed, 2 Sep 2026 19:36:45 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A70C11800261; Wed, 2 Sep 2026 19:36:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b0Ym/e4Oh8SRPNk2Z6PCMv9V9dUYNLq0e42cWHIKNbM=; b=ADlIb2kOizgzs4fHAYK3OCbQ/76ZBMGgBmezreswMngTrA7D/TMXu09UIgzaUORdS24eFc lRhSYOTjZpjTShwFEQkYfUxR57Ozj2BlMW0EsOOdvwkdVmo4WwFhqL2hJhdb8fmsOk0q/k ASWpVAQnCR5rxMk/RXVGYqw7pgkJaHI= X-MC-Unique: xh6cBPItMFu5oY0bZPkXzQ-1 X-Mimecast-MFC-AGG-ID: xh6cBPItMFu5oY0bZPkXzQ_1788377806 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 07/16] tests: update emsdk-wasm64-cross Date: Wed, 2 Sep 2026 15:35:42 -0400 Message-ID: <20260902193551.582660-8-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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: 1788377858631154100 This container currently uses Ubuntu 22.04 as a base, which is no longer supported by QEMU as a build platform. Upgrade to a newer version of the image which will provide Python3.12+. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Kohei Tokunaga Message-ID: <20260825215851.1780608-8-jsnow@redhat.com> Signed-off-by: John Snow --- tests/docker/dockerfiles/emsdk-wasm64-cross.docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/docker/dockerfiles/emsdk-wasm64-cross.docker b/tests/doc= ker/dockerfiles/emsdk-wasm64-cross.docker index c04a741b0e5..f11a9f34244 100644 --- a/tests/docker/dockerfiles/emsdk-wasm64-cross.docker +++ b/tests/docker/dockerfiles/emsdk-wasm64-cross.docker @@ -1,6 +1,6 @@ # syntax =3D docker/dockerfile:1.5 =20 -ARG EMSDK_VERSION_QEMU=3D4.0.10 +ARG EMSDK_VERSION_QEMU=3D5.0.2 ARG ZLIB_VERSION=3D1.3.2 ARG GLIB_MINOR_VERSION=3D2.84 ARG GLIB_VERSION=3D${GLIB_MINOR_VERSION}.0 @@ -27,7 +27,7 @@ RUN apt-get update && apt-get install -y \ pkgconf \ ninja-build \ python3-pip -RUN pip3 install meson=3D=3D${MESON_VERSION} tomli +RUN pip3 install --break-system-packages meson=3D=3D${MESON_VERSION} tomli RUN mkdir /build WORKDIR /build RUN mkdir -p $TARGET --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377855; cv=none; d=zohomail.com; s=zohoarc; b=Rmhea0xwQ6uz6cpVZHAkakxVQGBqBzN1rSh3J2xbs99X/cMaNqwK+AGLtJoaH8pZj2nIDkQ4m6c8nW0y5+V9pnuBncd6Pr7ILsOJVbGXa4M3aMzXYafFEy8ayELuZST0HQdDg5kufLa10ypXJwxi4EXU36lBECavraurTHIzMgI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377855; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=7Cg6p15wswIBjDjiGwVMLZCKOEIY30dNf4EhzFzuaI4=; b=gFLeDcsIW5As5j3UeZrzjLWMbjTmhjLUWXIpo4t84cej51j2Ycpu63P8FWsy+mudDMLIY+ch4L/aXXTAflddNKXMSIT2f9hIUF9MAESEs76lnCI0ViOhUOpM4MFdgeqLODjRBa6awc6iF/dFZWFd5TDxbxdrNu/U2Al7ND13L00= 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 1788377855283774.9638364351979; Wed, 2 Sep 2026 12:37:35 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlb-0001gZ-3o; Wed, 02 Sep 2026 15:37:03 -0400 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 1x1qlZ-0001dY-3o for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:01 -0400 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 1x1qlX-0004no-RQ for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:00 -0400 Received: from mx-prod-mc-05.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-528-SGl8AJkTPYaPCOCncL86sw-1; Wed, 02 Sep 2026 15:36:54 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 28E061944F07; Wed, 2 Sep 2026 19:36:52 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 243D91800240; Wed, 2 Sep 2026 19:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7Cg6p15wswIBjDjiGwVMLZCKOEIY30dNf4EhzFzuaI4=; b=V4pYtIZLNY7NdpN5f6svoOwtt+F2Hi1H9BWGBsnBwNYiCOjkKYAYMpIUnMcKdPRqBvHuGz MwI/WCylj5PURPU24j5ThBWbgiSi2tRDmDCe3iPY7T/aI7RVwrRP8zQYKzYZElQ3tsBWW0 oMzgDGbIHXjZ1b8OKyiK5R7TN5O1NII= X-MC-Unique: SGl8AJkTPYaPCOCncL86sw-1 X-Mimecast-MFC-AGG-ID: SGl8AJkTPYaPCOCncL86sw_1788377812 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 08/16] qapi: update type hint for objects_seen Date: Wed, 2 Sep 2026 15:35:43 -0400 Message-ID: <20260902193551.582660-9-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, 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: 1788377857507158500 In preparation for upgrading Python to 3.12+, adjust the type hint on objects_seen to prevent mypy from chirping about an unknown type for this variable. Why didn't this trigger earlier? A mystery for the ages. Signed-off-by: John Snow Reviewed-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-ID: <20260825215851.1780608-9-jsnow@redhat.com> Signed-off-by: John Snow --- scripts/qapi/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qapi/types.py b/scripts/qapi/types.py index 2bf75338283..b87377c6474 100644 --- a/scripts/qapi/types.py +++ b/scripts/qapi/types.py @@ -34,7 +34,7 @@ =20 # variants must be emitted before their container; track what has already # been output -objects_seen =3D set() +objects_seen: set[str] =3D set() =20 =20 def gen_enum_lookup(name: str, --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377843; cv=none; d=zohomail.com; s=zohoarc; b=e/GgGxqrAk6p+8PKjAQd7a8VzD1IikU9tKutCJTAJlZqy0gFTYZLaNdq2DROS4pLoskYzWb/NzDkg7DjBQABtHMVXiusfU7KUKUpOIHntLARq+rovDBV0rsILpJUOQU4NceOmW039zJAWBXz3dQKE4fp5XaYCv0ft1MpMljVVzs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377843; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=bUl5wmz6szSlD0tXxEwLEBUO4jpr4J93ptb/juBOP6k=; b=NR7xBwMkmVkkl4jYXygKCjT0DdQY5mz6jjRjRAU2hz4Vq4ZJ10bhx/hneapAdI6IicVBeuqDLvYAgU7Gpi08rnd/xPmZyN5QXXNlO8dEO8+JN4Rkq+mvyVaxnIZJFql+1yFagRasec2Xuf/L/l1Ar0fPJf4u77OhQfNNfyuwd3E= 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 1788377843271330.98856429900843; Wed, 2 Sep 2026 12:37:23 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlg-0001iM-SD; Wed, 02 Sep 2026 15:37:08 -0400 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 1x1qlf-0001hb-Eq for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:07 -0400 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 1x1qld-0004oW-2G for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:07 -0400 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-678-19ml45NNNIGOs8rXCyIS4g-1; Wed, 02 Sep 2026 15:37:01 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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 5CF881953976; Wed, 2 Sep 2026 19:36:58 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 716A21800240; Wed, 2 Sep 2026 19:36:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377824; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bUl5wmz6szSlD0tXxEwLEBUO4jpr4J93ptb/juBOP6k=; b=dTqC+XXovp34HyGKa5Q1wfHOSar3xG72AFxZyGvossSq0zKzgXS/5uQnNTNv8SWJ243I5H aQdQGgrVC0qy67BoudKYmpTysUwXdzpDtM8Twr3l4CTFgYXbUAYDtGXh0sN4FvbEgTEClU Abww9qZXNQlggV9d0owt2XYwaeeb7ok= X-MC-Unique: 19ml45NNNIGOs8rXCyIS4g-1 X-Mimecast-MFC-AGG-ID: 19ml45NNNIGOs8rXCyIS4g_1788377818 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 09/16] python: upgrade to Python3.12+ Date: Wed, 2 Sep 2026 15:35:44 -0400 Message-ID: <20260902193551.582660-10-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, 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: 1788377846504154100 With Python3.9 EOL and Python3.10 soon to be EOL (October 2026), and with ... no other supported build platform actually using Python 3.11, require the use of Python3.12 or later. Additionally, as part of this upgrade, remove the use of tomllib from mkvenv as it is now standard in the Python stdlib: leaving this transitional code in causes a regression with mypy which becomes confused about the overloaded use of 'tomllib'. Our current minimum requirements as determined by standard repository packages on supported distributions is as follows: distro EOS python3 pip setuptools sphinx wheel Reviewed-by: Daniel P. Berrang=C3=A9 ------------------------------------------------------------------------- centos_stream_9 2026-12-12 3.9.25 21.3.1 53.0.0 3.4.3 0.36.2 centos_stream_9+ 2026-12-12 3.12.13 23.2.1 68.2.2 --- 0.41.2 freebsd -- 3.12.14 23.3.2 63.1.0 9.0.4 0.48.0 ubuntu_24_04 2028-04-23 3.12.3 24.0 68.1.2 7.2.6 0.42.0 centos_stream_10 2030-01-01 3.12.13 23.3.2 69.0.3 7.2.6 0.41.2 alpine_3_21 2026-11-01 3.12.14 24.3.1 70.3.0 8.1.3 0.43.0 debian_13 2028-08-09 3.13.5 25.1.1 78.1.1 8.1.3 0.46.1 fedora_43 2026-12-09 3.14.7 25.1.1 78.1.1 8.2.3 0.45.1 ubuntu_26_04 2031-05-29 3.14.4 25.1.1 78.1.1 8.2.3 0.46.3 fedora_44 2027-06-02 3.14.7 26.0.1 80.10.2 8.2.3 0.45.1 macports -- 3.14.7 26.0.1 80.10.2 9.1.0 0.48.0 alpine_3_22 2027-05-01 3.12.14 25.1.1 80.9.0 8.2.3 0.46.3 alpine_3_23 2027-11-01 3.12.14 25.1.1 80.9.0 8.2.3 0.46.3 openbsd -- 3.14.6 26.2.1 80.9.0 9.1.0 0.48.0 alpine_3_24 2028-06-01 3.14.7 26.1.2 82.0.1 9.1.0 0.47.0 pkgsrc_current -- 3.13.15 26.2.1 84.0.0 9.1.0 0.48.0 CentOS stream 9 note: python3.12, python3.12-pip, python3.12-setuptools and python3.12-wheel are available as optional packages in the standard repository. Sphinx is not available, but can be side-loaded from PyPI using pip3.12. Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 Message-ID: <20260825215851.1780608-10-jsnow@redhat.com> Signed-off-by: John Snow --- configure | 11 ++++--- python/Makefile | 10 +++---- python/scripts/mkvenv.py | 63 ++++------------------------------------ python/setup.cfg | 17 ++++------- python/tests/minreqs.txt | 41 ++++++++++++-------------- pythondeps.toml | 9 ++---- 6 files changed, 43 insertions(+), 108 deletions(-) diff --git a/configure b/configure index 56158cd95f7..46cbcc085b3 100755 --- a/configure +++ b/configure @@ -503,17 +503,16 @@ if test -n "$linux_arch" && ! test -d "$source_path/l= inux-headers/asm-$linux_arc fi =20 check_py_version() { - # We require python >=3D 3.9. + # We require python >=3D 3.12. # NB: a True python conditional creates a non-zero return code (Failur= e) - "$1" -c 'import sys; sys.exit(sys.version_info < (3,9))' + "$1" -c 'import sys; sys.exit(sys.version_info < (3,12))' } =20 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 \ - python3.11 python3.10 python3.9 ; do + for binary in python3 python python3.14 python3.13 python3.12; do if has "$binary"; then python=3D$(command -v "$binary") if check_py_version "$python"; then @@ -902,7 +901,7 @@ then # If first_python is set, there was a binary somewhere even though # it was not suitable. Use it for the error message. if test -n "$first_python"; then - error_exit "Cannot use '$first_python', Python >=3D 3.9 is require= d." \ + error_exit "Cannot use '$first_python', Python >=3D 3.12 is requir= ed." \ "Use --python=3D/path/to/python to specify a supported Python." else error_exit "Python not found. Use --python=3D/path/to/python" @@ -910,7 +909,7 @@ then fi =20 if ! check_py_version "$python"; then - error_exit "Cannot use '$python', Python >=3D 3.9 is required." \ + error_exit "Cannot use '$python', Python >=3D 3.12 is required." \ "Use --python=3D/path/to/python to specify a supported Python= ." \ "Maybe try:" \ " CentOS: dnf install python3.12" diff --git a/python/Makefile b/python/Makefile index 42994d39618..7868a48a232 100644 --- a/python/Makefile +++ b/python/Makefile @@ -9,14 +9,14 @@ help: @echo "make check-minreqs:" @echo " Run tests in the minreqs virtual environment." @echo " These tests use the oldest dependencies." - @echo " Requires: Python 3.9" - @echo " Hint (Fedora): 'sudo dnf install python3.9'" + @echo " Requires: Python 3.12" + @echo " Hint (Fedora): 'sudo dnf install python3.12'" @echo "" @echo "make check-tox:" @echo " Run tests against multiple python versions." @echo " These tests use the newest dependencies." - @echo " Requires: Python 3.9 - 3.11, and tox." - @echo " Hint (Fedora): 'sudo dnf install python3-tox python3.11'" + @echo " Requires: Python 3.12 - 3.14, and tox." + @echo " Hint (Fedora): 'sudo dnf install python3-tox python3.14'" @echo " The variable QEMU_TOX_EXTRA_ARGS can be use to pass extra" @echo " arguments to tox". @echo "" @@ -59,7 +59,7 @@ PIP_INSTALL =3D pip install --disable-pip-version-check min-venv: $(QEMU_MINVENV_DIR) $(QEMU_MINVENV_DIR)/bin/activate $(QEMU_MINVENV_DIR) $(QEMU_MINVENV_DIR)/bin/activate: setup.cfg tests/minr= eqs.txt @echo "VENV $(QEMU_MINVENV_DIR)" - @python3.9 -m venv $(QEMU_MINVENV_DIR) + @python3.12 -m venv $(QEMU_MINVENV_DIR) @( \ echo "ACTIVATE $(QEMU_MINVENV_DIR)"; \ . $(QEMU_MINVENV_DIR)/bin/activate; \ diff --git a/python/scripts/mkvenv.py b/python/scripts/mkvenv.py index 8ed6a354505..e3954bb6d60 100644 --- a/python/scripts/mkvenv.py +++ b/python/scripts/mkvenv.py @@ -75,6 +75,7 @@ import subprocess import sys import sysconfig +import tomllib from types import SimpleNamespace from typing import ( Any, @@ -134,20 +135,6 @@ HAVE_PACKAGING_VERSION =3D _import_ok =20 =20 -# Try to load tomllib, with a fallback to tomli. -# HAVE_TOMLLIB is checked below, just-in-time, so that mkvenv does not fail -# outside the venv or before a potential call to ensurepip in checkpip(). -_import_ok =3D True -try: - import tomllib -except ImportError: - try: - import tomli as tomllib - except ImportError: - _import_ok =3D False - -HAVE_TOMLLIB =3D _import_ok - # Do not add any mandatory dependencies from outside the stdlib: # This script *must* be usable standalone! =20 @@ -261,36 +248,6 @@ def get_parent_libpath(self) -> Optional[str]: return sysconfig.get_path("purelib") return None =20 - @staticmethod - def compute_venv_libpath(context: SimpleNamespace) -> str: - """ - Compatibility wrapper for context.lib_path for Python < 3.12 - """ - # Python 3.12+, not strictly necessary because it's documented - # to be the same as 3.10 code below: - if sys.version_info >=3D (3, 12): - return context.lib_path - - # Python 3.10+ - if "venv" in sysconfig.get_scheme_names(): - lib_path =3D sysconfig.get_path( - "purelib", scheme=3D"venv", vars=3D{"base": context.env_di= r} - ) - assert lib_path is not None - return lib_path - - # For Python <=3D 3.9 we need to hardcode this. Fortunately the - # code below was the same in Python 3.6-3.10, so there is only - # one case. - if sys.platform =3D=3D "win32": - return os.path.join(context.env_dir, "Lib", "site-packages") - return os.path.join( - context.env_dir, - "lib", - "python%d.%d" % sys.version_info[:2], - "site-packages", - ) - def ensure_directories(self, env_dir: DirType) -> SimpleNamespace: logger.debug("ensure_directories(env_dir=3D%s)", env_dir) self._context =3D super().ensure_directories(env_dir) @@ -313,7 +270,8 @@ def post_post_setup(self, context: SimpleNamespace) -> = None: assert parent_libpath is not None logger.debug("parent_libpath: %s", parent_libpath) =20 - our_libpath =3D self.compute_venv_libpath(context) + assert isinstance(context.lib_path, str) + our_libpath =3D context.lib_path logger.debug("our_libpath: %s", our_libpath) =20 pth_file =3D os.path.join(our_libpath, "nested.pth") @@ -810,19 +768,8 @@ def _do_ensure( =20 =20 def _parse_groups(file: str) -> Dict[str, Dict[str, Any]]: - if not HAVE_TOMLLIB: - if sys.version_info < (3, 11): - raise Ouch("found no usable tomli, please install it") - - raise Ouch( - "Python >=3D3.11 does not have tomllib... what have you done!?" - ) - - # Use loads() to support both tomli v1.2.x (Ubuntu 22.04, - # Debian bullseye-backports) and v2.0.x - with open(file, "r", encoding=3D"ascii") as depfile: - contents =3D depfile.read() - return tomllib.loads(contents) # type: ignore + with open(file, "rb") as depfile: + return tomllib.load(depfile) =20 =20 def ensure_group( diff --git a/python/setup.cfg b/python/setup.cfg index ad4121a58d8..8f62b7c1cdb 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -14,16 +14,13 @@ classifiers =3D Natural Language :: English Operating System :: OS Independent Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 Programming Language :: Python :: 3.14 Typing :: Typed =20 [options] -python_requires =3D >=3D 3.9 +python_requires =3D >=3D 3.12 packages =3D qemu.machine qemu.utils @@ -39,12 +36,10 @@ devel =3D distlib >=3D 0.3.6 flake8 >=3D 5.0.4 fusepy >=3D 2.0.4 - isort >=3D 5.6.0 - # Max ver is temporary until we drop 3.9 - mypy >=3D 1.4.0, <2.0.0 + isort >=3D 5.11.3 + mypy >=3D 1.4.0 pylint >=3D 2.17.3 - pylint !=3D 3.2.4; python_version<"3.9" - pytest >=3D 6.0.2 + pytest >=3D 6.2.4 tox >=3D 3.18.0 sphinx >=3D 3.4.3 =20 @@ -69,7 +64,7 @@ exclude =3D __pycache__, =20 [mypy] strict =3D True -python_version =3D 3.9 +python_version =3D 3.12 namespace_packages =3D True warn_unused_ignores =3D False =20 @@ -164,7 +159,7 @@ multi_line_output=3D3 # of python available on your system to run this test. =20 [tox:tox] -envlist =3D py39, py310, py311, py312, py313, py314 +envlist =3D py312, py313, py314 skip_missing_interpreters =3D true =20 [testenv] diff --git a/python/tests/minreqs.txt b/python/tests/minreqs.txt index 05c3bdb89f8..85cfa08cf76 100644 --- a/python/tests/minreqs.txt +++ b/python/tests/minreqs.txt @@ -1,5 +1,5 @@ # This file lists the ***oldest possible dependencies*** needed to run -# "make check" successfully under ***Python 3.9***. It is used primarily +# "make check" successfully under ***Python 3.12***. It is used primarily # by GitLab CI to ensure that our stated minimum versions in setup.cfg # are truthful and regularly validated. # @@ -11,18 +11,11 @@ # When adding new dependencies, pin the very oldest non-yanked version # on PyPI that allows the test suite to pass. =20 -# For some reason, the presence of packaging=3D=3D14.0 below requires us to -# also pin setuptools to version 70 or below. Otherwise, the -# installation of the QEMU package itself fails, failing to find -# setuptools. -setuptools<=3D70 -wheel=3D=3D0.34.2 - # Dependencies for qapidoc/qapi_domain et al sphinx=3D=3D3.4.3 =20 # Dependencies for qemu.machine -qemu.qmp=3D=3D0.0.5 +qemu.qmp=3D=3D0.0.6 =20 # Dependencies for mkvenv distlib=3D=3D0.3.6 @@ -31,32 +24,28 @@ distlib=3D=3D0.3.6 fusepy=3D=3D2.0.4 =20 # Test-runners, utilities, etc. -pytest=3D=3D6.0.2 +pytest=3D=3D6.2.4 =20 # Linters -flake8=3D=3D5.0.4 -isort=3D=3D5.6.0 +flake8=3D=3D6.1.0 +isort=3D=3D5.11.3 mypy=3D=3D1.4.0 -pylint=3D=3D2.17.3 +pylint=3D=3D3.0.0 =20 # Transitive flake8 dependencies mccabe=3D=3D0.7.0 -pycodestyle=3D=3D2.9.1 -pyflakes=3D=3D2.5.0 +pycodestyle=3D=3D2.11.0 +pyflakes=3D=3D3.1.0 =20 # Transitive mypy dependencies mypy-extensions=3D=3D1.0.0 -tomli=3D=3D1.1.0 typing-extensions=3D=3D4.7.1 =20 # Transitive pylint dependencies -astroid=3D=3D2.15.4 -dill=3D=3D0.2 -lazy-object-proxy=3D=3D1.4.0 +astroid=3D=3D3.0.0 +dill=3D=3D0.3.7 platformdirs=3D=3D2.2.0 -toml=3D=3D0.10.0 tomlkit=3D=3D0.10.1 -wrapt=3D=3D1.14.0 =20 # Transitive sphinx dependencies Jinja2=3D=3D2.7 @@ -66,7 +55,8 @@ babel=3D=3D1.3 docutils=3D=3D0.12 imagesize=3D=3D0.5.0 packaging=3D=3D14.0 -pytz=3D=3D2011b0 +Pygments=3D=3D2.0 +pytz=3D=3D2014.9 requests=3D=3D2.5.0 snowballstemmer=3D=3D1.1 sphinxcontrib-applehelp=3D=3D1.0.0 @@ -75,3 +65,10 @@ sphinxcontrib-htmlhelp=3D=3D1.0.0 sphinxcontrib-jsmath=3D=3D1.0.0 sphinxcontrib-qthelp=3D=3D1.0.0 sphinxcontrib-serializinghtml=3D=3D1.0.0 + +# Transitive pytest dependencies +attrs=3D=3D19.2.0 +iniconfig=3D=3D1.0.0 +pluggy=3D=3D0.13 +py=3D=3D1.11.0 +toml=3D=3D0.10.0 diff --git a/pythondeps.toml b/pythondeps.toml index 061f0cff0c4..b1879c1a4da 100644 --- a/pythondeps.toml +++ b/pythondeps.toml @@ -38,14 +38,11 @@ sphinx_rtd_theme =3D { accepted =3D ">=3D0.5", installe= d =3D "1.2.2" } [tooling] "qemu.qmp" =3D { accepted =3D ">=3D0.0.5", installed =3D "0.0.6" } "qemu" =3D { path =3D "python/" } -# NB: The following dependencies should be a little bit more modern than -# the versions listed here, but we are still using Debian 11 for several -# GitLab CI tests, so we are further restricted. -"setuptools" =3D { accepted =3D ">=3D44.1.1" } -"wheel" =3D { accepted =3D ">=3D0.34.2" } +"setuptools" =3D { accepted =3D ">=3D63.1.0" } +"wheel" =3D { accepted =3D ">=3D0.41.2" } # pip should be guaranteed by mkvenv, this is merely a sanity check for # which version we are counting on being present. -"pip" =3D { accepted =3D ">=3D20.3.4" } +"pip" =3D { accepted =3D ">=3D23.2.1" } =20 # This test group is for functional tests, and can include dependencies # fetched from PyPI. --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377892; cv=none; d=zohomail.com; s=zohoarc; b=O86wDPJWKM0Pt3cQoU+jjMpWSqA6b4TzndRkMDGg68uv3+YshFdybnrJsiyBRHm2ShKFRMg2oe3b4ucgN9HKVzAHDTn0j3l0f1UMsf30icw6nrXCcBXZ49e5kueP+zTaubLLA2T/wzQ4Tr1NgMTMJBS0zAMjciLtlTVYl6uRdBA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377892; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KkwcdYoWgbp67iDjoYQCzBZIFy5KyJTEo19Czx8OuqU=; b=G1v/MzT7YYRU4/g37M7KXxXufbDmm8RtDbUXfq4t9T2cFCEKUKY/DszbsfNsH+j6sxW+ZK3m1K/00Kh6HfeLLnPe2cgnO5vOXae6q8e0qQUm1EHuuuPzondAMf1rFvmjgNfg8BvhRjkkVDTszfGl9THOyx/c0Jzk732448ykq9o= 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 1788377892422630.4400573648685; Wed, 2 Sep 2026 12:38:12 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qln-0002Iz-GM; Wed, 02 Sep 2026 15:37:15 -0400 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 1x1qll-00021j-3C for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:13 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1qlj-0004p8-1p for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:12 -0400 Received: from mx-prod-mc-05.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-385-FWfkJBHKNEqiEkt0OZ7Oog-1; Wed, 02 Sep 2026 15:37:07 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A4F0219560A2; Wed, 2 Sep 2026 19:37:04 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D8C831800261; Wed, 2 Sep 2026 19:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KkwcdYoWgbp67iDjoYQCzBZIFy5KyJTEo19Czx8OuqU=; b=Z6YQBZKP8W1wnvmNch50qG4hdM3QbJDf6wfQ+Fg2AbfkB38riNgFrb9QjsuXo4gi65X05g DRbBApMDYbAu3LamH2BbgEZyynnTep2WMc8xFcxrTpgsZxM0gDuf9wWDHeiMBFyezwE0aL pAiwyR4L7KRvONcaa/tf+c/o9a/3nVg= X-MC-Unique: FWfkJBHKNEqiEkt0OZ7Oog-1 X-Mimecast-MFC-AGG-ID: FWfkJBHKNEqiEkt0OZ7Oog_1788377824 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 10/16] python: fix license configuration Date: Wed, 2 Sep 2026 15:35:45 -0400 Message-ID: <20260902193551.582660-11-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=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: 1788377893023158500 License trove identifiers were deprecated in favor of SPDX identifiers, correct this to stop some whining from various python tooling. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20260825215851.1780608-11-jsnow@redhat.com> Signed-off-by: John Snow --- python/setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup.cfg b/python/setup.cfg index 8f62b7c1cdb..a22abba6c36 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -8,9 +8,9 @@ download_url =3D https://www.qemu.org/download/ description =3D QEMU Python Build, Debug and SDK tooling. long_description =3D file:PACKAGE.rst long_description_content_type =3D text/x-rst +license =3D GPL-2.0-or-later classifiers =3D Development Status :: 3 - Alpha - License :: OSI Approved :: GNU General Public License v2 (GPLv2) Natural Language :: English Operating System :: OS Independent Programming Language :: Python :: 3 :: Only --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377887; cv=none; d=zohomail.com; s=zohoarc; b=doi4J4vVvIB5uTCSFA5vK2nU/ueIpipuc7xVVHDwx8SKG66d2QhqkZUxPANnhy3e7A3qTcVesHjaqjACERRc+HajCjgGQE2f6TTBRXelHo4XtmmOlGI0DyRNdLWwk2a0nY4M9ZhNDc07yi+N0pXEYJoAUg01kpH69tpMEZrwSx0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377887; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NTd7BBM+Pn5UqFiXXJa1/uU738b29D+E2gb5WoV30ec=; b=SLl5/n/pLimPTPIpyae7YDvG3KFxW81uFNtYV5y0CjXtbwj7aP/YNGvrTMoijVgMnS8D21Mz6FOxEU95XFUrOp7BqCaQy39TCcQk4NOeFjiJABf7OZUHxY0S7O7xNUJ6Hv/Glb2/V8L50rIftKY6LqWXygF0KYQUL+FiazQ9PGI= 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 1788377887208543.9787817162444; Wed, 2 Sep 2026 12:38:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlu-00032F-Nz; Wed, 02 Sep 2026 15:37:22 -0400 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 1x1qlt-0002rW-0d for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:21 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1qlq-0004qH-9G for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:20 -0400 Received: from mx-prod-mc-03.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-171-N_N9lCYMPhGVK3L9Rv3oNA-1; Wed, 02 Sep 2026 15:37:14 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7261F1944A94; Wed, 2 Sep 2026 19:37:11 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0DBE81800240; Wed, 2 Sep 2026 19:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NTd7BBM+Pn5UqFiXXJa1/uU738b29D+E2gb5WoV30ec=; b=UH3c+C21VS9kclydx5iRj361BTkSNiyYDn3pNP7xwFmTW/FbezO5x05Q7L6yXpN3apEuIA PtFHS5MRgjEpxhUJ5NMFGn1HpeO19Mr4G0SzmxS6mJVJgT89qYR3+sRyDaNeTN+dHeKUKv vueeUZKFNLu4w5/R5pl+dfVTosuz2O0= X-MC-Unique: N_N9lCYMPhGVK3L9Rv3oNA-1 X-Mimecast-MFC-AGG-ID: N_N9lCYMPhGVK3L9Rv3oNA_1788377831 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 11/16] python: allow mypy to run as the current python version Date: Wed, 2 Sep 2026 15:35:46 -0400 Message-ID: <20260902193551.582660-12-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=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: 1788377889051158500 Currently, we instruct mypy to run assuming a specific version of python. Lift this restriction so that under tox tests, it will always run assuming the current running version. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-ID: <20260825215851.1780608-12-jsnow@redhat.com> Signed-off-by: John Snow --- python/setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/python/setup.cfg b/python/setup.cfg index a22abba6c36..f866f659574 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -64,7 +64,6 @@ exclude =3D __pycache__, =20 [mypy] strict =3D True -python_version =3D 3.12 namespace_packages =3D True warn_unused_ignores =3D False =20 --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377860; cv=none; d=zohomail.com; s=zohoarc; b=OXXHcuE87LxySFB50572zrhHj2XqfkzowiMD/lLxKGpabfsFBWeSWHb7VcAmaRmb9i56mllspN8htPbz8z5tHgeMrLZ9jRc9lDpTEMvTSu5Y0sADX8oXFxW6DaSRBFsRUAFxsB+uQS2cUYqSo0dMpfQSjYup7nIX9RNF/1hJyJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377860; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=EzLz8ZlEIVzf4Rpt7lLepb9FZzFO03GU8b6FyMgWSxk=; b=YIN9w/6J2YZVdOT1DZpWtb3VIONBFeapRTsPrvhrqAc9jXL7IeaKJoU2MkLifN+I0d0sSvbaKnV8Z8rr9fLS8BtqQUFNAczFA2VXXAw2hs1QFPfUylfAUGvo8uX+dB/aET7RT/BzjYVuNDXFpgFujrEKXWeawg0O6lAF1DBEiXc= 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 1788377860535487.18608274249095; Wed, 2 Sep 2026 12:37:40 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qlz-0003T4-QH; Wed, 02 Sep 2026 15:37:27 -0400 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 1x1qly-0003N3-9k for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:26 -0400 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 1x1qlw-0004rR-J7 for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:25 -0400 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-474-mWg4dCFWO3GM791v4-wkBw-1; Wed, 02 Sep 2026 15:37:19 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A55041843AC0; Wed, 2 Sep 2026 19:37:16 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id C742A1800261; Wed, 2 Sep 2026 19:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EzLz8ZlEIVzf4Rpt7lLepb9FZzFO03GU8b6FyMgWSxk=; b=YSK2w8YNy1+gzTVd5t41lRFt9SqYTapIxe2kjSquPslIjtmRNsHQ4kPZ7lUWz5soUMh4Rg r7CEFSsM1AuDHnUbO7dUV2aIbEXQ3pACFOEvhXva24jOtODaZHr/ljaqs6lL3uiy2vt/Qm o+IDzxnY5UmY2OF6F/km5VuUPasnxaI= X-MC-Unique: mWg4dCFWO3GM791v4-wkBw-1 X-Mimecast-MFC-AGG-ID: mWg4dCFWO3GM791v4-wkBw_1788377836 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 12/16] python: remove distutils workarounds Date: Wed, 2 Sep 2026 15:35:47 -0400 Message-ID: <20260902193551.582660-13-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: 1788377862837154100 These are no longer necessary now that we are using Python3.12+. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20260825215851.1780608-13-jsnow@redhat.com> Signed-off-by: John Snow --- python/tests/linters.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/python/tests/linters.py b/python/tests/linters.py index 82b88aebb20..dd89fb00ba8 100644 --- a/python/tests/linters.py +++ b/python/tests/linters.py @@ -83,23 +83,13 @@ def test_mypy_iotests(self): cwd=3D"../tests/qemu-iotests/", ) =20 - # Setuptools v60 introduced the SETUPTOOLS_USE_DISTUTILS=3Dstdlib - # workaround; stdlib distutils was fully removed in Python - # 3.12+. Once we are on >=3D3.12+ exclusively, this workaround can be - # dropped safely. Until then, it is needed for some versions on - # Fedora/Debian distributions which relied upon distro-patched - # setuptools present in CPython, but not within setuptools itself. - def test_pylint_pkg(self): - os.environ["SETUPTOOLS_USE_DISTUTILS"] =3D "stdlib" check_call([sys.executable, "-m", "pylint", "qemu/"]) =20 def test_pylint_scripts(self): - os.environ["SETUPTOOLS_USE_DISTUTILS"] =3D "stdlib" check_call([sys.executable, "-m", "pylint", "scripts/"]) =20 def test_pylint_qapi(self): - os.environ["SETUPTOOLS_USE_DISTUTILS"] =3D "stdlib" check_call( [ sys.executable, @@ -113,7 +103,6 @@ def test_pylint_qapi(self): ) =20 def test_pylint_iotests(self): - os.environ["SETUPTOOLS_USE_DISTUTILS"] =3D "stdlib" check_call( [sys.executable, "-m", "linters", "--pylint"], cwd=3D"../tests/qemu-iotests/", --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377871; cv=none; d=zohomail.com; s=zohoarc; b=SIDAg7MxYTFlNOww3eCTxNRKXy/2YYBjK6KAbeXOXY2QjM3x1QwLOkXH7U5x8CxW71SSlIWuxkpLbZfNnx84LVGJigwP3fv7lj6aklaDInZLLJeaYWRWszVyPb5aP2LKQF8wJfy7vjSQjDT40SMgI9hakPf4kDD8jEam1nEUpKA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377871; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=2nXZ1918GwkdCSwvaXRUfabHgQdPNkv5oM7RUkhi2W4=; b=NuLfKbDKwHdXpQthleM5JEwbJ+wFZ/vmBUOSqI58T/gbovJmQiQJqrY7u+QTasgDgP0nyH2H5LXdlSJsJrSgD1zh/4uEqsMpa6Ht+f2UYSDYaxUKFcQbJi53WqEGnWIMhNcTq83LlUz1PIf6mSFJCHdNd4vFHNVxlgI4iZwxTTs= 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 1788377871862203.5743223230594; Wed, 2 Sep 2026 12:37:51 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qm1-0003WN-9f; Wed, 02 Sep 2026 15:37:29 -0400 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 1x1qlz-0003TQ-VB for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:28 -0400 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 1x1qly-0004rn-G4 for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:27 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-508-QpuGrhOVO3GF3Qs6bpK2sw-1; Wed, 02 Sep 2026 15:37:24 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 95E0A180256E; Wed, 2 Sep 2026 19:37:21 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id C545D1800240; Wed, 2 Sep 2026 19:37:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2nXZ1918GwkdCSwvaXRUfabHgQdPNkv5oM7RUkhi2W4=; b=FlH3CTMy9dbiM0SvSrJVmVxusVpBQBODBy0SoPNccYZN+gocEiKlcN4UWSpoXC9QY0xh9b s8gPc+ddYALEh0gZcm31EBaEM4POfA/q/uT1cRtZLyJOJ4BSgDMatsGpbQNFqhjBBP5+B4 lNoiqEVelXcuhiyujctrjiWvHx9iB6M= X-MC-Unique: QpuGrhOVO3GF3Qs6bpK2sw-1 X-Mimecast-MFC-AGG-ID: QpuGrhOVO3GF3Qs6bpK2sw_1788377841 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 13/16] python: remove stale setup.cfg options Date: Wed, 2 Sep 2026 15:35:48 -0400 Message-ID: <20260902193551.582660-14-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: 1788377872979158500 With the recent version bumps, we no longer need these directives. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20260825215851.1780608-14-jsnow@redhat.com> Signed-off-by: John Snow --- python/setup.cfg | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/python/setup.cfg b/python/setup.cfg index f866f659574..ebb4230899c 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -65,7 +65,6 @@ exclude =3D __pycache__, [mypy] strict =3D True namespace_packages =3D True -warn_unused_ignores =3D False =20 [mypy-qemu.utils.qom_fuse] # fusepy has no type stubs: @@ -76,12 +75,6 @@ allow_subclassing_any =3D True [mypy-fuse] ignore_missing_imports =3D True =20 -[mypy-tomli] -ignore_missing_imports =3D True - -[mypy-tomllib] -ignore_missing_imports =3D True - [mypy-distlib] ignore_missing_imports =3D True =20 @@ -91,12 +84,6 @@ ignore_missing_imports =3D True [mypy-distlib.version] ignore_missing_imports =3D True =20 -[mypy-pip._vendor.distlib] -ignore_missing_imports =3D True - -[mypy-pip._vendor.distlib.scripts] -ignore_missing_imports =3D True - [mypy-pip._vendor.distlib.version] ignore_missing_imports =3D True =20 --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377879; cv=none; d=zohomail.com; s=zohoarc; b=n7voYi57ySUuLR5XuH+PcKNFHE+JUzhDcqwPFQqjLy4ExbAx34/MSUpzzofle9x40PeWBFQXSdqjiRGcHVnL2HSbH/cTTzzzWQXhBlzWhQPZc/N9/Oh4PiHTxJis5qToQc4WAlOUDsAxxbzRx83RXyD4jLuBQBZKKquPV3rSuRY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377879; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=1vKPGHA3V5n7rMu8JWPhX9G9nwze8YxFV9nkttodw2c=; b=FdES/ANk/i8x9o7y8V6KflkDTVTQXoky+UF7vSIvYIE0hxr3if5IMLtDf9zJOK+z4kJxhkd5JJfsD6SJc9WnqqwYf05fovf05OXENn/8cstTMrrNiNQ+QBPbPvazPQXUagG276OZkMrJXlQxSJqBowEpbCMM1PTKo4DOtpCoFlE= 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 1788377879289710.545885114683; Wed, 2 Sep 2026 12:37:59 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qmA-00044C-GW; Wed, 02 Sep 2026 15:37:38 -0400 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 1x1qm8-0003wI-Qn for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:36 -0400 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 1x1qm7-0004tt-18 for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:36 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-180-8Y-JoWyUMdO1m654RDMR5w-1; Wed, 02 Sep 2026 15:37:31 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1121B1801329; Wed, 2 Sep 2026 19:37:27 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E8BD51800261; Wed, 2 Sep 2026 19:37:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1vKPGHA3V5n7rMu8JWPhX9G9nwze8YxFV9nkttodw2c=; b=WFBsYh06kEMmXK4OqnIB4B8UjCI9aQeNl/3A4XmvCwQnZ1i8CFB2RA1QBzjKRGNhLd8u0c vICmQ6FjGffImHU/6NPRlIIs3SW92/0yH2M8e8zZhH2ucGrfcp9NhU43+z7OPe7OIJ9Zse ojUwX3mDuhd/EljKbo/uE7L8AZlYDHU= X-MC-Unique: 8Y-JoWyUMdO1m654RDMR5w-1 X-Mimecast-MFC-AGG-ID: 8Y-JoWyUMdO1m654RDMR5w_1788377847 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 14/16] sphinx: require sphinx 7.2.6 Date: Wed, 2 Sep 2026 15:35:49 -0400 Message-ID: <20260902193551.582660-15-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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: 1788377881049154100 Make the extraordinary leap from Sphinx 3.4.3 to Sphinx 7.2.6. Simplifications and cleanup will follow in subsequent patches. Note that CentOS Stream 9 only ships a version of Sphinx that runs on Python 3.9, so regardless of the version of Sphinx we require, if we require Python 3.10+, CentOS Stream 9 will be unable to build QEMU documentation in an isolated offline build environment. CentOS Stream 9 continues to be able to build documentation so long as PyPI access is permitted during configure, or if the requisite PyPI packages are installed prior to configure time. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20260825215851.1780608-15-jsnow@redhat.com> Signed-off-by: John Snow --- docs/conf.py | 4 ++-- docs/requirements.txt | 2 +- python/setup.cfg | 2 +- python/tests/minreqs.txt | 29 ++++++++++++++++------------- pythondeps.toml | 4 ++-- 5 files changed, 22 insertions(+), 19 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7e35d2158d3..cded047b539 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,9 +51,9 @@ =20 # If your documentation needs a minimal Sphinx version, state it here. # -# 3.4.3 is the oldest version of Sphinx that ships on a platform we +# 7.2.6 is the oldest version of Sphinx that ships on a platform we # pledge build support for. -needs_sphinx =3D '3.4.3' +needs_sphinx =3D '7.2.6' =20 # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom diff --git a/docs/requirements.txt b/docs/requirements.txt index 87f7afcb2e7..c10c4cf7c91 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ # Used by readthedocs.io # Should be in sync with the "installed" key of pythondeps.toml =20 -sphinx=3D=3D6.2.1 +sphinx=3D=3D7.2.6 sphinx_rtd_theme=3D=3D1.2.2 diff --git a/python/setup.cfg b/python/setup.cfg index ebb4230899c..927f72a46f6 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -41,7 +41,7 @@ devel =3D pylint >=3D 2.17.3 pytest >=3D 6.2.4 tox >=3D 3.18.0 - sphinx >=3D 3.4.3 + sphinx >=3D 7.2.6 =20 # Provides qom-fuse functionality fuse =3D diff --git a/python/tests/minreqs.txt b/python/tests/minreqs.txt index 85cfa08cf76..7154ad40040 100644 --- a/python/tests/minreqs.txt +++ b/python/tests/minreqs.txt @@ -12,7 +12,7 @@ # on PyPI that allows the test suite to pass. =20 # Dependencies for qapidoc/qapi_domain et al -sphinx=3D=3D3.4.3 +sphinx=3D=3D7.2.6 =20 # Dependencies for qemu.machine qemu.qmp=3D=3D0.0.6 @@ -48,23 +48,26 @@ platformdirs=3D=3D2.2.0 tomlkit=3D=3D0.10.1 =20 # Transitive sphinx dependencies -Jinja2=3D=3D2.7 -MarkupSafe=3D=3D1.1.0 alabaster=3D=3D0.7.1 -babel=3D=3D1.3 -docutils=3D=3D0.12 -imagesize=3D=3D0.5.0 -packaging=3D=3D14.0 -Pygments=3D=3D2.0 -pytz=3D=3D2014.9 -requests=3D=3D2.5.0 -snowballstemmer=3D=3D1.1 +babel=3D=3D2.9 +certifi=3D=3D2023.5.7 +charset-normalizer=3D=3D2.0.0 +docutils=3D=3D0.18.1 +idna=3D=3D2.5 +imagesize=3D=3D1.3 +Jinja2=3D=3D3.0.0 +MarkupSafe=3D=3D2.0 +packaging=3D=3D21.0 +Pygments=3D=3D2.14 +requests=3D=3D2.25.0 +snowballstemmer=3D=3D2.0 sphinxcontrib-applehelp=3D=3D1.0.0 sphinxcontrib-devhelp=3D=3D1.0.0 -sphinxcontrib-htmlhelp=3D=3D1.0.0 +sphinxcontrib-htmlhelp=3D=3D2.0.0 sphinxcontrib-jsmath=3D=3D1.0.0 sphinxcontrib-qthelp=3D=3D1.0.0 -sphinxcontrib-serializinghtml=3D=3D1.0.0 +sphinxcontrib-serializinghtml=3D=3D1.1.9 +urllib3=3D=3D1.26 =20 # Transitive pytest dependencies attrs=3D=3D19.2.0 diff --git a/pythondeps.toml b/pythondeps.toml index b1879c1a4da..f0f3af915a1 100644 --- a/pythondeps.toml +++ b/pythondeps.toml @@ -28,8 +28,8 @@ meson =3D { accepted =3D ">=3D1.12.0", installed =3D "1.1= 2.0", canary =3D "meson" } =20 [docs] # Please keep the installed versions in sync with docs/requirements.txt -sphinx =3D { accepted =3D ">=3D3.4.3", installed =3D "6.2.1", canary =3D "= sphinx-build" } -sphinx_rtd_theme =3D { accepted =3D ">=3D0.5", installed =3D "1.2.2" } +sphinx =3D { accepted =3D ">=3D7.2.6", installed =3D "7.2.6", canary =3D "= sphinx-build" } +sphinx_rtd_theme =3D { accepted =3D ">=3D1.2.2", installed =3D "1.2.2" } =20 # This test group is for dependencies required to run various tooling # and tests that should always be installed at configure time. It should --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377894; cv=none; d=zohomail.com; s=zohoarc; b=QLO7k3EkOv/UH/am0FNDse8WqFY3FKgv+D1KFNuWgPHlBpMRWuRStya/JfIYx4HInXqiO1CnYbkA2FOgvQKVi06myAvE42LPhAzTHoIpoZGsUd0ZC2Hybz6gzMyL4mb/OnOyfFaAHdyZIIi5ixbC/C4VaUSvlw+CzDz4WQlzYGE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377894; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=WibZEksgxBQt9vc2554TSH9or20FNwoEX/381fcpeqQ=; b=aVNLltc9oJh6GoBCilqzHk3/aE5O/0FmbXF8C3p8dnPzdvd5TYVXz/FL2LdRyRLKL3mwuui2DCNeC0bHYvzBfs+886C0mzzKPPV2PnQaNNGdZX4UFcM7obEyX27xng+2DVEIZhcJDABSUrvMhNzslwqkIvfF3S+CidaNwxlRio0= 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 1788377894203755.2079284397751; Wed, 2 Sep 2026 12:38:14 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qmV-0005rQ-4M; Wed, 02 Sep 2026 15:37:59 -0400 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 1x1qmT-0005dA-0H for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:57 -0400 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 1x1qmR-0004wz-8z for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:56 -0400 Received: from mx-prod-mc-03.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-636-1_vOmYVcOpqrefAjIFzZBw-1; Wed, 02 Sep 2026 15:37:49 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7C661195423A; Wed, 2 Sep 2026 19:37:31 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4863A1800261; Wed, 2 Sep 2026 19:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WibZEksgxBQt9vc2554TSH9or20FNwoEX/381fcpeqQ=; b=UdgjpXrmxUByxP+S6oWjsOV7+7R7ujCFk2eGErwU6ftFDCQq+7XLeEjyasRpug+WQY/fDR REG4rBYVFS0OIbBgMgULinJL78WRbthZXeczXghSwNbB0z9mdXIDiSNsbOmCG9fFlpLDSz yO+c/4fysVLGXaRFvD/6IBFT/8V/ua0= X-MC-Unique: 1_vOmYVcOpqrefAjIFzZBw-1 X-Mimecast-MFC-AGG-ID: 1_vOmYVcOpqrefAjIFzZBw_1788377851 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 15/16] sphinx: drop fakedbusdoc Date: Wed, 2 Sep 2026 15:35:50 -0400 Message-ID: <20260902193551.582660-16-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, 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: 1788377895201154100 Now that we rely on a sufficiently modern Sphinx, we no longer need a stub doc for dbus. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Message-ID: <20260825215851.1780608-16-jsnow@redhat.com> Signed-off-by: John Snow --- docs/conf.py | 7 +------ docs/interop/dbus-display.rst | 14 +------------- docs/interop/dbus-vmstate.rst | 14 +------------- docs/interop/dbus-vnc.rst | 14 +------------- docs/sphinx/fakedbusdoc.py | 30 ------------------------------ 5 files changed, 4 insertions(+), 75 deletions(-) delete mode 100644 docs/sphinx/fakedbusdoc.py diff --git a/docs/conf.py b/docs/conf.py index cded047b539..914bae67d9c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,6 +59,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions =3D [ + 'dbusdoc', 'depfile', 'hxtool', 'kerneldoc', @@ -67,12 +68,6 @@ 'qmp_lexer', ] =20 -if sphinx.version_info[:3] > (4, 0, 0): - tags.add('sphinx4') - extensions +=3D ['dbusdoc'] -else: - extensions +=3D ['fakedbusdoc'] - # Add any paths that contain templates here, relative to this directory. templates_path =3D [os.path.join(qemu_docdir, '_templates')] =20 diff --git a/docs/interop/dbus-display.rst b/docs/interop/dbus-display.rst index 87648e91dc0..c87a04c9693 100644 --- a/docs/interop/dbus-display.rst +++ b/docs/interop/dbus-display.rst @@ -18,16 +18,4 @@ QEMU also implements the standard interfaces, such as :local: :depth: 1 =20 -.. only:: sphinx4 - - .. dbus-doc:: ui/dbus-display1.xml - -.. only:: not sphinx4 - - .. warning:: - Sphinx 4 is required to build D-Bus documentation. - - This is the content of ``ui/dbus-display1.xml``: - - .. literalinclude:: ../../ui/dbus-display1.xml - :language: xml +.. dbus-doc:: ui/dbus-display1.xml diff --git a/docs/interop/dbus-vmstate.rst b/docs/interop/dbus-vmstate.rst index 5fb3f279e28..5f8c6d125de 100644 --- a/docs/interop/dbus-vmstate.rst +++ b/docs/interop/dbus-vmstate.rst @@ -23,16 +23,4 @@ dbus-vmstate object can be configured with the expected = list of helpers by setting its ``id-list`` property, with a comma-separated ``Id`` list. =20 -.. only:: sphinx4 - - .. dbus-doc:: backends/dbus-vmstate1.xml - -.. only:: not sphinx4 - - .. warning:: - Sphinx 4 is required to build D-Bus documentation. - - This is the content of ``backends/dbus-vmstate1.xml``: - - .. literalinclude:: ../../backends/dbus-vmstate1.xml - :language: xml +.. dbus-doc:: backends/dbus-vmstate1.xml diff --git a/docs/interop/dbus-vnc.rst b/docs/interop/dbus-vnc.rst index d2b77978f63..5ea4fd57183 100644 --- a/docs/interop/dbus-vnc.rst +++ b/docs/interop/dbus-vnc.rst @@ -11,16 +11,4 @@ Objects are exported under ``/org/qemu/Vnc1/``. :local: :depth: 1 =20 -.. only:: sphinx4 - - .. dbus-doc:: tools/qemu-vnc/qemu-vnc1.xml - -.. only:: not sphinx4 - - .. warning:: - Sphinx 4 is required to build D-Bus documentation. - - This is the content of ``tools/qemu-vnc/qemu-vnc1.xml``: - - .. literalinclude:: ../../tools/qemu-vnc/qemu-vnc1.xml - :language: xml +.. dbus-doc:: tools/qemu-vnc/qemu-vnc1.xml diff --git a/docs/sphinx/fakedbusdoc.py b/docs/sphinx/fakedbusdoc.py deleted file mode 100644 index 2d2e6ef6403..00000000000 --- a/docs/sphinx/fakedbusdoc.py +++ /dev/null @@ -1,30 +0,0 @@ -# D-Bus XML documentation extension, compatibility gunk for -"""dbus-doc is a Sphinx extension that provides documentation from D-Bus X= ML.""" - -from docutils.parsers.rst import Directive -from sphinx.application import Sphinx -from typing import Any, Dict - - -class FakeDBusDocDirective(Directive): - has_content =3D True - required_arguments =3D 1 - - def run(self): - return [] - - -def setup(app: Sphinx) -> Dict[str, Any]: - """Register a fake dbus-doc directive with Sphinx""" - app.add_directive("dbus-doc", FakeDBusDocDirective) - - return dict( - parallel_read_safe =3D True, - parallel_write_safe =3D True - ) --=20 2.55.0 From nobody Sat Sep 26 22:14:44 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=1788377874; cv=none; d=zohomail.com; s=zohoarc; b=mUn0oFv/1nrJjcCioVf+pWz2614OEyooMkxLRVj1ZuqXOGnhMaPRKiYswkPI+gGIQ7MxvRlF4M1BmtisZrlEulUK9AHHmmqphPWjeiiJL/qPHQwH7USo2YTE82ehZhBX2AKo+vVGuTa+KUSdWspMmNYDKJTjDxq1s3/Wu5KGhNg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1788377874; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=K+bd9Ef2wrd+i9BGmS4zLYXKV1YjNy2ITtROPUKtk1E=; b=W3SbprBHQ2BBhkBekKOP2MV0JQCixZKAINN+NTvrjBzTCfQUkDZVXmGaHJeVJ7F8qIlnOb5q0juA6Zkya9nxw1TXLBdZ0dZAU7h6k2t1XdBNOrbYMd/Vo+UHJo3lV4z3JFegIaZM/8vD5jZVf09MJo9G4udw7fYicI4NWQG4G8o= 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 1788377874879673.968573629709; Wed, 2 Sep 2026 12:37:54 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x1qmL-0004vS-TJ; Wed, 02 Sep 2026 15:37:49 -0400 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 1x1qmJ-0004jF-Mq for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x1qmH-0004us-0v for qemu-devel@nongnu.org; Wed, 02 Sep 2026 15:37:47 -0400 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-131-9dC7U0e0NqKq1toH_GYF9Q-1; Wed, 02 Sep 2026 15:37:40 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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 70D5B19541AE; Wed, 2 Sep 2026 19:37:37 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.64.24]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B2F311800240; Wed, 2 Sep 2026 19:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788377864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K+bd9Ef2wrd+i9BGmS4zLYXKV1YjNy2ITtROPUKtk1E=; b=VBvP0uIki6eTZdduvyBoeRZujCfyqDOkKY9nlp2Hy+4MWRVmmVp+Xs5d/p/GU3kUrAuyUR MG0ZoqGf0I4Xa/9PbGmkWHy9fmd5ORAxpH8iL7vYtvdK4XnG/mIsrZ6VO5yo71ANGxCZc3 zFHGaQ5MQXt7ReWm8+/Uae3koMOsUd8= X-MC-Unique: 9dC7U0e0NqKq1toH_GYF9Q-1 X-Mimecast-MFC-AGG-ID: 9dC7U0e0NqKq1toH_GYF9Q_1788377857 From: John Snow To: qemu-devel@nongnu.org Cc: Mauro Carvalho Chehab , Fabiano Rosas , qemu-block@nongnu.org, Cleber Rosa , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Maksim Davydov , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Kohei Tokunaga , Thomas Huth , Peter Maydell , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Hanna Reitz , Michael Roth , Vladimir Sementsov-Ogievskiy , Yonggang Luo , Warner Losh , Reinoud Zandijk , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Kevin Wolf , Li-Wen Hsu , Peter Xu , Markus Armbruster Subject: [PULL 16/16] sphinx: drop qapidoc back-compat overboiled spaghetti dinner Date: Wed, 2 Sep 2026 15:35:51 -0400 Message-ID: <20260902193551.582660-17-jsnow@redhat.com> In-Reply-To: <20260902193551.582660-1-jsnow@redhat.com> References: <20260902193551.582660-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=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: 1788377877060158500 Drop the disgusting amount of hacks required to keep qapidoc working on older Sphinx versions, enjoying the cutting edge technology of 2023. This felt like an achievement to have written, and equally feels an achievement to have deleted. A note on the content_node parameter: Sphinx has been gradually implementing typing support and renaming parameters to be consistent. As a result of losing our intermediate compatibility shim, mypy and pylint now check directly against the Sphinx version. So, alongside removing compat gunk, we need to fix up some parameter naming for the Sphinx upgrade, too. Signed-off-by: John Snow Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Markus Armbruster Message-ID: <20260825215851.1780608-17-jsnow@redhat.com> Signed-off-by: John Snow --- docs/sphinx/compat.py | 230 ------------------------------------- docs/sphinx/qapi_domain.py | 53 +++++---- 2 files changed, 28 insertions(+), 255 deletions(-) delete mode 100644 docs/sphinx/compat.py diff --git a/docs/sphinx/compat.py b/docs/sphinx/compat.py deleted file mode 100644 index 9cf7fe006e4..00000000000 --- a/docs/sphinx/compat.py +++ /dev/null @@ -1,230 +0,0 @@ -""" -Sphinx cross-version compatibility goop -""" - -import re -from typing import ( - TYPE_CHECKING, - Any, - Callable, - Optional, - Type, -) - -from docutils import nodes -from docutils.nodes import Element, Node, Text -from docutils.statemachine import StringList - -import sphinx -from sphinx import addnodes, util -from sphinx.directives import ObjectDescription -from sphinx.environment import BuildEnvironment -from sphinx.roles import XRefRole -from sphinx.util import docfields -from sphinx.util.docutils import ( - ReferenceRole, - SphinxDirective, - switch_source_input, -) -from sphinx.util.typing import TextlikeNode - - -MAKE_XREF_WORKAROUND =3D sphinx.version_info[:3] < (4, 1, 0) - - -SpaceNode: Callable[[str], Node] -KeywordNode: Callable[[str, str], Node] - -if sphinx.version_info[:3] >=3D (4, 0, 0): - SpaceNode =3D addnodes.desc_sig_space - KeywordNode =3D addnodes.desc_sig_keyword -else: - SpaceNode =3D Text - KeywordNode =3D addnodes.desc_annotation - - -def nested_parse_with_titles( - directive: SphinxDirective, content_node: Element -) -> None: - """ - This helper preserves error parsing context across sphinx versions. - """ - - # necessary so that the child nodes get the right source/line set - content_node.document =3D directive.state.document - - try: - # Modern sphinx (6.2.0+) supports proper offsetting for - # nested parse error context management - util.nodes.nested_parse_with_titles( - directive.state, - directive.content, - content_node, - content_offset=3Ddirective.content_offset, - ) - except TypeError: - # No content_offset argument. Fall back to SSI method. - with switch_source_input(directive.state, directive.content): - util.nodes.nested_parse_with_titles( - directive.state, directive.content, content_node - ) - - -# ########################################### -# xref compatibility hacks for Sphinx < 4.1 # -# ########################################### - -# When we require >=3D Sphinx 4.1, the following function and the -# subsequent 3 compatibility classes can be removed. Anywhere in -# qapi_domain that uses one of these Compat* types can be switched to -# using the garden-variety lib-provided classes with no trickery. - - -def _compat_make_xref( # pylint: disable=3Dunused-argument - self: sphinx.util.docfields.Field, - rolename: str, - domain: str, - target: str, - innernode: Type[TextlikeNode] =3D addnodes.literal_emphasis, - contnode: Optional[Node] =3D None, - env: Optional[BuildEnvironment] =3D None, - inliner: Any =3D None, - location: Any =3D None, -) -> Node: - """ - Compatibility workaround for Sphinx versions prior to 4.1.0. - - Older sphinx versions do not use the domain's XRefRole for parsing - and formatting cross-references, so we need to perform this magick - ourselves to avoid needing to write the parser/formatter in two - separate places. - - This workaround isn't brick-for-brick compatible with modern Sphinx - versions, because we do not have access to the parent directive's - state during this parsing like we do in more modern versions. - - It's no worse than what pre-Sphinx 4.1.0 does, so... oh well! - """ - - # Yes, this function is gross. Pre-4.1 support is a miracle. - # pylint: disable=3Dtoo-many-locals - - assert env - # Note: Sphinx's own code ignores the type warning here, too. - if not rolename: - return contnode or innernode(target, target) # type: ignore[call-= arg] - - # Get the role instance, but don't *execute it* - we lack the - # correct state to do so. Instead, we'll just use its public - # methods to do our reference formatting, and emulate the rest. - role =3D env.get_domain(domain).roles[rolename] - assert isinstance(role, XRefRole) - - # XRefRole features not supported by this compatibility shim; - # these were not supported in Sphinx 3.x either, so nothing of - # value is really lost. - assert not target.startswith("!") - assert not re.match(ReferenceRole.explicit_title_re, target) - assert not role.lowercase - assert not role.fix_parens - - # Code below based mostly on sphinx.roles.XRefRole; run() and - # create_xref_node() - options =3D { - "refdoc": env.docname, - "refdomain": domain, - "reftype": rolename, - "refexplicit": False, - "refwarn": role.warn_dangling, - } - refnode =3D role.nodeclass(target, **options) - title, target =3D role.process_link(env, refnode, False, target, targe= t) - refnode["reftarget"] =3D target - classes =3D ["xref", domain, f"{domain}-{rolename}"] - refnode +=3D role.innernodeclass(target, title, classes=3Dclasses) - - # This is the very gross part of the hack. Normally, - # result_nodes takes a document object to which we would pass - # self.inliner.document. Prior to Sphinx 4.1, we don't *have* an - # inliner to pass, so we have nothing to pass here. However, the - # actual implementation of role.result_nodes in this case - # doesn't actually use that argument, so this winds up being - # ... fine. Rest easy at night knowing this code only runs under - # old versions of Sphinx, so at least it won't change in the - # future on us and lead to surprising new failures. - # Gross, I know. - result_nodes, _messages =3D role.result_nodes( - None, # type: ignore - env, - refnode, - is_ref=3DTrue, - ) - return nodes.inline(target, "", *result_nodes) - - -class CompatField(docfields.Field): - if MAKE_XREF_WORKAROUND: - make_xref =3D _compat_make_xref - - -class CompatGroupedField(docfields.GroupedField): - if MAKE_XREF_WORKAROUND: - make_xref =3D _compat_make_xref - - -class CompatTypedField(docfields.TypedField): - if MAKE_XREF_WORKAROUND: - make_xref =3D _compat_make_xref - - -# ################################################################ -# Nested parsing error location fix for Sphinx 5.3.0 < x < 6.2.0 # -# ################################################################ - -# When we require Sphinx 4.x, the TYPE_CHECKING hack where we avoid -# subscripting ObjectDescription at runtime can be removed in favor of -# just always subscripting the class. - -# When we require Sphinx > 6.2.0, the rest of this compatibility hack -# can be dropped and QAPIObject can just inherit directly from -# ObjectDescription[Signature]. - -SOURCE_LOCATION_FIX =3D (5, 3, 0) <=3D sphinx.version_info[:3] < (6, 2, 0) - -Signature =3D str - - -if TYPE_CHECKING: - _BaseClass =3D ObjectDescription[Signature] -else: - _BaseClass =3D ObjectDescription - - -class ParserFix(_BaseClass): - - _temp_content: StringList - _temp_offset: int - _temp_node: Optional[addnodes.desc_content] - - def before_content(self) -> None: - # Work around a sphinx bug and parse the content ourselves. - self._temp_content =3D self.content - self._temp_offset =3D self.content_offset - self._temp_node =3D None - - if SOURCE_LOCATION_FIX: - self._temp_node =3D addnodes.desc_content() - self.state.nested_parse( - self.content, self.content_offset, self._temp_node - ) - # Sphinx will try to parse the content block itself, - # Give it nothingness to parse instead. - self.content =3D StringList() - self.content_offset =3D 0 - - def transform_content(self, content_node: addnodes.desc_content) -> No= ne: - # Sphinx workaround: Inject our parsed content and restore state. - if self._temp_node: - content_node +=3D self._temp_node.children - self.content =3D self._temp_content - self.content_offset =3D self._temp_offset diff --git a/docs/sphinx/qapi_domain.py b/docs/sphinx/qapi_domain.py index f561dc465f8..159857113a4 100644 --- a/docs/sphinx/qapi_domain.py +++ b/docs/sphinx/qapi_domain.py @@ -30,20 +30,10 @@ ) from sphinx.locale import _, __ from sphinx.roles import XRefRole -from sphinx.util import logging +from sphinx.util import docfields, logging from sphinx.util.docutils import SphinxDirective from sphinx.util.nodes import make_id, make_refnode =20 -from compat import ( - CompatField, - CompatGroupedField, - CompatTypedField, - KeywordNode, - ParserFix, - Signature, - SpaceNode, -) - =20 if TYPE_CHECKING: from typing import ( @@ -157,7 +147,10 @@ def result_nodes( return results, [] =20 =20 -class QAPIDescription(ParserFix): +Signature =3D str + + +class QAPIDescription(ObjectDescription[Signature]): """ Generic QAPI description. =20 @@ -315,7 +308,7 @@ class QAPIObject(QAPIDescription): =20 doc_field_types =3D [ # :feat name: descr - CompatGroupedField( + docfields.GroupedField( "feature", label=3D_("Features"), names=3D("feat",), @@ -327,8 +320,8 @@ def get_signature_prefix(self) -> List[nodes.Node]: """Return a prefix to put before the object name in the signature.= """ assert self.objtype return [ - KeywordNode("", self.objtype.title()), - SpaceNode(" "), + addnodes.desc_sig_keyword("", self.objtype.title()), + addnodes.desc_sig_space(" "), ] =20 def get_signature_suffix(self) -> List[nodes.Node]: @@ -337,7 +330,7 @@ def get_signature_suffix(self) -> List[nodes.Node]: =20 if "since" in self.options: ret +=3D [ - SpaceNode(" "), + addnodes.desc_sig_space(" "), addnodes.desc_sig_element( "", f"(Since: {self.options['since']})" ), @@ -376,7 +369,7 @@ def handle_signature(self, sig: str, signode: desc_sign= ature) -> Signature: =20 return sig =20 - def _add_infopips(self, contentnode: addnodes.desc_content) -> None: + def _add_infopips(self, content_node: addnodes.desc_content) -> None: # Add various eye-catches and things that go below the signature # bar, but precede the user-defined content. infopips =3D nodes.container() @@ -420,7 +413,7 @@ def _add_pip( ) =20 if infopips.children: - contentnode.insert(0, infopips) + content_node.insert(0, infopips) =20 def _validate_field(self, field: nodes.field) -> None: """Validate field lists in this QAPI Object Description.""" @@ -470,7 +463,17 @@ def _validate_field(self, field: nodes.field) -> None: ) logger.warning(msg, location=3Dfield) =20 - def transform_content(self, content_node: addnodes.desc_content) -> No= ne: + def transform_content( + self, + # Sphinx changed the name of the content_node parameter + # sometime after Sphinx 7.2.6, so no matter which name we + # choose, either our minimum tests or our bleeding edge tests + # will complain about the parameter rename. Use the eventual + # name and silence the error for our minreq tests. + # + # pylint: disable=3Darguments-renamed + content_node: addnodes.desc_content + ) -> None: # This hook runs after before_content and the nested parse, but # before the DocFieldTransformer is executed. super().transform_content(content_node) @@ -485,7 +488,7 @@ def transform_content(self, content_node: addnodes.desc= _content) -> None: self._validate_field(field) =20 =20 -class SpecialTypedField(CompatTypedField): +class SpecialTypedField(docfields.TypedField): def make_field(self, *args: Any, **kwargs: Any) -> nodes.field: ret =3D super().make_field(*args, **kwargs) =20 @@ -518,14 +521,14 @@ class QAPICommand(QAPIObject): can_collapse=3DFalse, ), # :error: descr - CompatField( + docfields.Field( "error", label=3D_("Errors"), names=3D("error", "errors"), has_arg=3DFalse, ), # :return TypeName: descr - CompatGroupedField( + docfields.GroupedField( "returnvalue", label=3D_("Return"), rolename=3D"type", @@ -533,7 +536,7 @@ class QAPICommand(QAPIObject): can_collapse=3DTrue, ), # :return-nodesc: TypeName - CompatField( + docfields.Field( "returnvalue", label=3D_("Return"), names=3D("return-nodesc",), @@ -551,7 +554,7 @@ class QAPIEnum(QAPIObject): doc_field_types.extend( [ # :value name: descr - CompatGroupedField( + docfields.GroupedField( "value", label=3D_("Values"), names=3D("value",), @@ -568,7 +571,7 @@ class QAPIAlternate(QAPIObject): doc_field_types.extend( [ # :alt type name: descr - CompatTypedField( + docfields.TypedField( "alternative", label=3D_("Alternatives"), names=3D("alt",), --=20 2.55.0