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 committed 2026-03-09 14:04:19 -04:00
1 parent d5c6eef38e
commit d4ae1c7072
14 files changed
-65

No files matched your search

-2
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
-13
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']
-1
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
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh -e
python3 -m flake8 qemu/
python3 -m flake8 scripts/
-4
View File
@@ -1,4 +0,0 @@
#!/bin/sh -e
cd ../tests/qemu-iotests/
python3 -m linters --mypy
-5
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
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh -e
python3 -m isort -c qemu/
python3 -m isort -c scripts/
-1
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
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh -e
python3 -m mypy -p qemu
python3 -m mypy scripts/
-4
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/
-6
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
-8
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
-4
View File
@@ -1,4 +0,0 @@
#!/bin/sh -e
# SPDX-License-Identifier: GPL-2.0-or-later
python3 -m mypy ../scripts/qapi
-8
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