@samitouri / QOSamiQemu / commits / d4ae1c7072

python: drop avocado

Avocado-framework is no longer used for anything, so it can be removed. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20260226213400.1254014-4-jsnow@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com>

John Snow committed Feb 26, 2026 at 16:33 UTC d4ae1c7072615b3acece26b548ff1925c5e5e2ed
14 files changed -65
python/README.rst
-2
@@ -108,8 +108,6 @@ Files in this directory
108
109 - ``qemu/`` Python 'qemu' namespace package source directory.
110 - ``tests/`` Python package tests directory.
111 -- ``avocado.cfg`` Configuration for the Avocado test-runner.
112 - Used by ``make check`` et al.
111 - ``Makefile`` provides some common testing/installation invocations.
112 Try ``make help`` to see available targets.
113 - ``MANIFEST.in`` is read by python setuptools, it specifies additional files
python/avocado.cfg deleted
-13
@@ -1,13 +0,0 @@
1 -[run]
2 -test_runner = nrunner
3 -
4 -[simpletests]
5 -# Don't show stdout/stderr in the test *summary*
6 -status.failure_fields = ['status']
7 -
8 -[job]
9 -# Don't show the full debug.log output; only select stdout/stderr.
10 -output.testlogs.logfiles = ['stdout', 'stderr']
11 -
12 -# Show full stdout/stderr only on tests that FAIL
13 -output.testlogs.statuses = ['FAIL']
python/setup.cfg
-1
@@ -35,7 +35,6 @@ install_requires =
35 [options.extras_require]
36 # Remember to update tests/minreqs.txt if changing anything below:
37 devel =
38 - avocado-framework >= 90.0
38 distlib >= 0.3.6
39 flake8 >= 5.0.4
40 fusepy >= 2.0.4
python/tests/flake8.sh deleted
-3
@@ -1,3 +0,0 @@
1 -#!/bin/sh -e
2 -python3 -m flake8 qemu/
3 -python3 -m flake8 scripts/
python/tests/iotests-mypy.sh deleted
-4
@@ -1,4 +0,0 @@
1 -#!/bin/sh -e
2 -
3 -cd ../tests/qemu-iotests/
4 -python3 -m linters --mypy
python/tests/iotests-pylint.sh deleted
-5
@@ -1,5 +0,0 @@
1 -#!/bin/sh -e
2 -
3 -cd ../tests/qemu-iotests/
4 -# See commit message for environment variable explainer.
5 -SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m linters --pylint
python/tests/isort.sh deleted
-3
@@ -1,3 +0,0 @@
1 -#!/bin/sh -e
2 -python3 -m isort -c qemu/
3 -python3 -m isort -c scripts/
python/tests/minreqs.txt
-1
@@ -31,7 +31,6 @@ distlib==0.3.6
31 fusepy==2.0.4
32
33 # Test-runners, utilities, etc.
34 -avocado-framework==90.0
34 pytest==6.0.2
35
36 # Linters
python/tests/mypy.sh deleted
-3
@@ -1,3 +0,0 @@
1 -#!/bin/sh -e
2 -python3 -m mypy -p qemu
3 -python3 -m mypy scripts/
python/tests/pylint.sh deleted
-4
@@ -1,4 +0,0 @@
1 -#!/bin/sh -e
2 -# See commit message for environment variable explainer.
3 -SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint qemu/
4 -SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint scripts/
python/tests/qapi-flake8.sh deleted
-6
@@ -1,6 +0,0 @@
1 -#!/bin/sh -e
2 -# SPDX-License-Identifier: GPL-2.0-or-later
3 -
4 -python3 -m flake8 ../scripts/qapi/ \
5 - ../docs/sphinx/qapidoc.py \
6 - ../docs/sphinx/qapi_domain.py
python/tests/qapi-isort.sh deleted
-8
@@ -1,8 +0,0 @@
1 -#!/bin/sh -e
2 -# SPDX-License-Identifier: GPL-2.0-or-later
3 -
4 -python3 -m isort --sp . -c ../scripts/qapi/
5 -# Force isort to recognize "compat" as a local module and not third-party
6 -python3 -m isort --sp . -c -p compat \
7 - ../docs/sphinx/qapi_domain.py \
8 - ../docs/sphinx/qapidoc.py
python/tests/qapi-mypy.sh deleted
-4
@@ -1,4 +0,0 @@
1 -#!/bin/sh -e
2 -# SPDX-License-Identifier: GPL-2.0-or-later
3 -
4 -python3 -m mypy ../scripts/qapi
python/tests/qapi-pylint.sh deleted
-8
@@ -1,8 +0,0 @@
1 -#!/bin/sh -e
2 -# SPDX-License-Identifier: GPL-2.0-or-later
3 -
4 -SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint \
5 - --rcfile=../scripts/qapi/pylintrc \
6 - ../scripts/qapi/ \
7 - ../docs/sphinx/qapidoc.py \
8 - ../docs/sphinx/qapi_domain.py