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>
This commit is contained in:
John Snow
2026-02-26 16:33:59 -05:00
parent d5c6eef38e
commit d4ae1c7072
14 changed files with 0 additions and 65 deletions

View File

@@ -108,8 +108,6 @@ Files in this directory
- ``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 files

View File

@@ -1,13 +0,0 @@
[run]
test_runner = nrunner
[simpletests]
# Don't show stdout/stderr in the test *summary*
status.failure_fields = ['status']
[job]
# Don't show the full debug.log output; only select stdout/stderr.
output.testlogs.logfiles = ['stdout', 'stderr']
# Show full stdout/stderr only on tests that FAIL
output.testlogs.statuses = ['FAIL']

View File

@@ -35,7 +35,6 @@ install_requires =
[options.extras_require]
# Remember to update tests/minreqs.txt if changing anything below:
devel =
avocado-framework >= 90.0
distlib >= 0.3.6
flake8 >= 5.0.4
fusepy >= 2.0.4

View File

@@ -1,3 +0,0 @@
#!/bin/sh -e
python3 -m flake8 qemu/
python3 -m flake8 scripts/

View File

@@ -1,4 +0,0 @@
#!/bin/sh -e
cd ../tests/qemu-iotests/
python3 -m linters --mypy

View File

@@ -1,5 +0,0 @@
#!/bin/sh -e
cd ../tests/qemu-iotests/
# See commit message for environment variable explainer.
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m linters --pylint

View File

@@ -1,3 +0,0 @@
#!/bin/sh -e
python3 -m isort -c qemu/
python3 -m isort -c scripts/

View File

@@ -31,7 +31,6 @@ distlib==0.3.6
fusepy==2.0.4
# Test-runners, utilities, etc.
avocado-framework==90.0
pytest==6.0.2
# Linters

View File

@@ -1,3 +0,0 @@
#!/bin/sh -e
python3 -m mypy -p qemu
python3 -m mypy scripts/

View File

@@ -1,4 +0,0 @@
#!/bin/sh -e
# See commit message for environment variable explainer.
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint qemu/
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint scripts/

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +0,0 @@
#!/bin/sh -e
# SPDX-License-Identifier: GPL-2.0-or-later
python3 -m mypy ../scripts/qapi

View File

@@ -1,8 +0,0 @@
#!/bin/sh -e
# SPDX-License-Identifier: GPL-2.0-or-later
SETUPTOOLS_USE_DISTUTILS=stdlib python3 -m pylint \
--rcfile=../scripts/qapi/pylintrc \
../scripts/qapi/ \
../docs/sphinx/qapidoc.py \
../docs/sphinx/qapi_domain.py