From nobody Sat Apr 11 23:08:13 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=1773079676; cv=none; d=zohomail.com; s=zohoarc; b=HW0726Ks1BFy7HEhf/7l2jIKTcQeY5FGSqR9sFbSSMzTA35gUVL1xtt/NbTyWgLu9DYTMx/6fvmyjL3YKmjmOPvS5GIKmFAMqUQ7xews8D6hWRXWtOGe75zK/yqt18tJIMxRuV3pNMqzfV/UCuSBroGj3s3YVdH3bW++irsiHDE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773079676; 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=Ib+CApM1kWITeZ/5sgt8awzJihc228hSFn8FjiKZjaM=; b=JsY0IGhqyiNP6tdil4koourEm6NwqUG3unOB4gdtibSQAbDYgdXhtZYgTUPag/LjpQc+rdG6x2JFoy0PgmLrFFSRrkfwwHr56blwj4DV+dyxQ/pT9eW3YniMS6VFNVZkgcfYp9ZJN4pAryoVsRKznBMnIRtJEbU5nZ2iBcYe0bg= 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773079676131437.3404291702485; Mon, 9 Mar 2026 11:07:56 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vzf14-0005Ab-C8; Mon, 09 Mar 2026 14:07:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vzf04-00043U-Sa for qemu-devel@nongnu.org; Mon, 09 Mar 2026 14:06:46 -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 1vzf02-0006h1-P7 for qemu-devel@nongnu.org; Mon, 09 Mar 2026 14:06:40 -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-657-g_VNe-AxMQWd2nC8JByBhQ-1; Mon, 09 Mar 2026 14:06:34 -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 C5CC51956055; Mon, 9 Mar 2026 18:06:31 +0000 (UTC) Received: from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.81.1]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 34F43180049D; Mon, 9 Mar 2026 18:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773079597; 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=Ib+CApM1kWITeZ/5sgt8awzJihc228hSFn8FjiKZjaM=; b=ZnAgFUVk4gvdVqtJzPaxQle5kZteIxgtB7jnEpGuEOGCZmWkZfTTKhExZ4HiqT7tRuoVyj TqO51Kl9yIvT08iDBZvBywUl7dcBfoBs3lpJso3v+Z83/cgHJKXuLZLOiPLNAx1pVBPaIP FHTciXxsARoot2dWNyv9c9xrWGTopHE= X-MC-Unique: g_VNe-AxMQWd2nC8JByBhQ-1 X-Mimecast-MFC-AGG-ID: g_VNe-AxMQWd2nC8JByBhQ_1773079592 From: John Snow To: qemu-devel@nongnu.org Cc: Hanna Reitz , Yonggang Luo , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Kevin Wolf , Kyle Evans , Mauro Carvalho Chehab , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Peter Maydell , Peter Xu , Thomas Huth , Warner Losh , qemu-block@nongnu.org, Michael Roth , Paolo Bonzini , John Snow , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Ed Maste , Maksim Davydov , Vladimir Sementsov-Ogievskiy , Fabiano Rosas , Li-Wen Hsu , Cleber Rosa Subject: [PULL 3/4] python: drop avocado Date: Mon, 9 Mar 2026 14:06:00 -0400 Message-ID: <20260309180601.164435-4-jsnow@redhat.com> In-Reply-To: <20260309180601.164435-1-jsnow@redhat.com> References: <20260309180601.164435-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=lists.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: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.819, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.903, 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: 1773079677414154100 Avocado-framework is no longer used for anything, so it can be removed. Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Thomas Huth Message-ID: <20260226213400.1254014-4-jsnow@redhat.com> Signed-off-by: John Snow --- python/README.rst | 2 -- python/avocado.cfg | 13 ------------- python/setup.cfg | 1 - python/tests/flake8.sh | 3 --- python/tests/iotests-mypy.sh | 4 ---- python/tests/iotests-pylint.sh | 5 ----- python/tests/isort.sh | 3 --- python/tests/minreqs.txt | 1 - python/tests/mypy.sh | 3 --- python/tests/pylint.sh | 4 ---- python/tests/qapi-flake8.sh | 6 ------ python/tests/qapi-isort.sh | 8 -------- python/tests/qapi-mypy.sh | 4 ---- python/tests/qapi-pylint.sh | 8 -------- 14 files changed, 65 deletions(-) delete mode 100644 python/avocado.cfg delete mode 100755 python/tests/flake8.sh delete mode 100755 python/tests/iotests-mypy.sh delete mode 100755 python/tests/iotests-pylint.sh delete mode 100755 python/tests/isort.sh delete mode 100755 python/tests/mypy.sh delete mode 100755 python/tests/pylint.sh delete mode 100755 python/tests/qapi-flake8.sh delete mode 100755 python/tests/qapi-isort.sh delete mode 100755 python/tests/qapi-mypy.sh delete mode 100755 python/tests/qapi-pylint.sh diff --git a/python/README.rst b/python/README.rst index ec5cb5e971b..e34d1a1c7b1 100644 --- a/python/README.rst +++ b/python/README.rst @@ -108,8 +108,6 @@ Files in this directory =20 - ``qemu/`` Python 'qemu' namespace package source directory. - ``tests/`` Python package tests directory. -- ``avocado.cfg`` Configuration for the Avocado test-runner. - Used by ``make check`` et al. - ``Makefile`` provides some common testing/installation invocations. Try ``make help`` to see available targets. - ``MANIFEST.in`` is read by python setuptools, it specifies additional fi= les diff --git a/python/avocado.cfg b/python/avocado.cfg deleted file mode 100644 index a4604200594..00000000000 --- a/python/avocado.cfg +++ /dev/null @@ -1,13 +0,0 @@ -[run] -test_runner =3D nrunner - -[simpletests] -# Don't show stdout/stderr in the test *summary* -status.failure_fields =3D ['status'] - -[job] -# Don't show the full debug.log output; only select stdout/stderr. -output.testlogs.logfiles =3D ['stdout', 'stderr'] - -# Show full stdout/stderr only on tests that FAIL -output.testlogs.statuses =3D ['FAIL'] diff --git a/python/setup.cfg b/python/setup.cfg index 03344526730..e5bf498f0e1 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -35,7 +35,6 @@ install_requires =3D [options.extras_require] # Remember to update tests/minreqs.txt if changing anything below: devel =3D - avocado-framework >=3D 90.0 distlib >=3D 0.3.6 flake8 >=3D 5.0.4 fusepy >=3D 2.0.4 diff --git a/python/tests/flake8.sh b/python/tests/flake8.sh deleted file mode 100755 index e0136996453..00000000000 --- a/python/tests/flake8.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e -python3 -m flake8 qemu/ -python3 -m flake8 scripts/ diff --git a/python/tests/iotests-mypy.sh b/python/tests/iotests-mypy.sh deleted file mode 100755 index ee764708199..00000000000 --- a/python/tests/iotests-mypy.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -e - -cd ../tests/qemu-iotests/ -python3 -m linters --mypy diff --git a/python/tests/iotests-pylint.sh b/python/tests/iotests-pylint.sh deleted file mode 100755 index 33c5ae900a5..00000000000 --- a/python/tests/iotests-pylint.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -e - -cd ../tests/qemu-iotests/ -# See commit message for environment variable explainer. -SETUPTOOLS_USE_DISTUTILS=3Dstdlib python3 -m linters --pylint diff --git a/python/tests/isort.sh b/python/tests/isort.sh deleted file mode 100755 index 66c2f7df0fd..00000000000 --- a/python/tests/isort.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e -python3 -m isort -c qemu/ -python3 -m isort -c scripts/ diff --git a/python/tests/minreqs.txt b/python/tests/minreqs.txt index 19912027076..05c3bdb89f8 100644 --- a/python/tests/minreqs.txt +++ b/python/tests/minreqs.txt @@ -31,7 +31,6 @@ distlib=3D=3D0.3.6 fusepy=3D=3D2.0.4 =20 # Test-runners, utilities, etc. -avocado-framework=3D=3D90.0 pytest=3D=3D6.0.2 =20 # Linters diff --git a/python/tests/mypy.sh b/python/tests/mypy.sh deleted file mode 100755 index a33a3f58ab3..00000000000 --- a/python/tests/mypy.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e -python3 -m mypy -p qemu -python3 -m mypy scripts/ diff --git a/python/tests/pylint.sh b/python/tests/pylint.sh deleted file mode 100755 index 2b68da90df7..00000000000 --- a/python/tests/pylint.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -e -# See commit message for environment variable explainer. -SETUPTOOLS_USE_DISTUTILS=3Dstdlib python3 -m pylint qemu/ -SETUPTOOLS_USE_DISTUTILS=3Dstdlib python3 -m pylint scripts/ diff --git a/python/tests/qapi-flake8.sh b/python/tests/qapi-flake8.sh deleted file mode 100755 index c69f9ea2e00..00000000000 --- a/python/tests/qapi-flake8.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -e -# SPDX-License-Identifier: GPL-2.0-or-later - -python3 -m flake8 ../scripts/qapi/ \ - ../docs/sphinx/qapidoc.py \ - ../docs/sphinx/qapi_domain.py diff --git a/python/tests/qapi-isort.sh b/python/tests/qapi-isort.sh deleted file mode 100755 index 067c16d5d94..00000000000 --- a/python/tests/qapi-isort.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -e -# SPDX-License-Identifier: GPL-2.0-or-later - -python3 -m isort --sp . -c ../scripts/qapi/ -# Force isort to recognize "compat" as a local module and not third-party -python3 -m isort --sp . -c -p compat \ - ../docs/sphinx/qapi_domain.py \ - ../docs/sphinx/qapidoc.py diff --git a/python/tests/qapi-mypy.sh b/python/tests/qapi-mypy.sh deleted file mode 100755 index 363dbaf8c06..00000000000 --- a/python/tests/qapi-mypy.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -e -# SPDX-License-Identifier: GPL-2.0-or-later - -python3 -m mypy ../scripts/qapi diff --git a/python/tests/qapi-pylint.sh b/python/tests/qapi-pylint.sh deleted file mode 100755 index 8767d9d2a2d..00000000000 --- a/python/tests/qapi-pylint.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -e -# SPDX-License-Identifier: GPL-2.0-or-later - -SETUPTOOLS_USE_DISTUTILS=3Dstdlib python3 -m pylint \ - --rcfile=3D../scripts/qapi/pylintrc \ - ../scripts/qapi/ \ - ../docs/sphinx/qapidoc.py \ - ../docs/sphinx/qapi_domain.py --=20 2.53.0