Hi, this series does a few things, but it's ultimately in service of
dropping the python qemu.qmp package from the qemu.git tree in favor of
using the standalone package instead, to prevent any further issues from
the two codebases diverging.
Patches 1-3: Fix linting issues that have cropped up with python
Patches 4-8,12,16: Set up new python dependency targets in Meson
Patches 9-10,17: Adjust test execution in GitLab to cope with new test
dependency structure
Patch 11: Add vendored qemu.qmp package for isolated/offline test
execution
Patches 13-15: Fix meson build system (Paolo Bonzini)
Patches 18-20: Teach mkvenv how to install local packages
Patch 21: Replace "make check-venv" in Makefile with meson execution
Patch 22: Drop qemu.qmp.
There are some quality problems with Patches 18-20, but all GitLab tests
are green and this is a great starting point to discuss this series.
--js
John Snow (19):
python/mkvenv: ensure HAVE_LIB variables are actually constants
python/qapi: add an ignore for Pylint 4.x
python/qapi: delint import statements
python/mkvenv: create timestamp file for each group "ensured"
python/mkvenv: bump 'qemu.qmp' dependency for testdeps
python/mkvenv: rename 'testdeps' to 'functests'
python/mkvenv: add "checktests" dependency group
meson, mkvenv: add checktests and functests custom targets
tests/iotests: Use configured python to run GitLab iotests
tests/iotests: use "make check-venv" to prepare for running iotests
python: add vendored qemu.qmp package
meson, mkvenv: make iotests depend on checktests group
meson, mkvenv: make functional tests depend on functests group
tests: forcibly run 'make check-venv' for crash tests
python/mkvenv: add mechanism to install local package(s)
mkvenv: add --no-build-isolation flag
meson, mkvenv: add qemu.git/python/qemu package to pythondeps.toml
tests/Makefile: replace old "check-venv" target with meson target
python: delete qemu.qmp
Paolo Bonzini (3):
mtest2make: cleanup mtest-suites variables
mtest2make: add dependencies to the "speed-qualified" suite
mtest2make: do not repeat the same speed over and over
Makefile | 4 +-
meson.build | 1 +
.gitlab-ci.d/buildtest.yml | 9 +-
python/qemu/qmp/__init__.py | 60 -
python/qemu/qmp/error.py | 53 -
python/qemu/qmp/events.py | 751 -----------
python/qemu/qmp/legacy.py | 339 -----
python/qemu/qmp/message.py | 217 ----
python/qemu/qmp/models.py | 146 ---
python/qemu/qmp/protocol.py | 1101 -----------------
python/qemu/qmp/py.typed | 0
python/qemu/qmp/qmp_client.py | 732 -----------
python/qemu/qmp/qmp_shell.py | 689 -----------
python/qemu/qmp/qmp_tui.py | 665 ----------
python/qemu/qmp/util.py | 150 ---
python/qemu/utils/qom_fuse.py | 1 -
python/scripts/mkvenv.py | 35 +-
python/scripts/vendor.py | 2 +
python/setup.cfg | 32 +-
python/tests/minreqs.txt | 8 +-
python/tests/protocol.py | 596 ---------
python/wheels/qemu_qmp-0.0.5-py3-none-any.whl | Bin 0 -> 72263 bytes
pythondeps.toml | 7 +-
pyvenv/meson.build | 34 +
scripts/mtest2make.py | 41 +-
scripts/qapi/commands.py | 5 +-
scripts/qapi/introspect.py | 2 +-
tests/Makefile.include | 25 +-
tests/functional/meson.build | 7 +-
tests/qemu-iotests/meson.build | 2 +-
30 files changed, 116 insertions(+), 5598 deletions(-)
delete mode 100644 python/qemu/qmp/__init__.py
delete mode 100644 python/qemu/qmp/error.py
delete mode 100644 python/qemu/qmp/events.py
delete mode 100644 python/qemu/qmp/legacy.py
delete mode 100644 python/qemu/qmp/message.py
delete mode 100644 python/qemu/qmp/models.py
delete mode 100644 python/qemu/qmp/protocol.py
delete mode 100644 python/qemu/qmp/py.typed
delete mode 100644 python/qemu/qmp/qmp_client.py
delete mode 100644 python/qemu/qmp/qmp_shell.py
delete mode 100644 python/qemu/qmp/qmp_tui.py
delete mode 100644 python/qemu/qmp/util.py
delete mode 100644 python/tests/protocol.py
create mode 100644 python/wheels/qemu_qmp-0.0.5-py3-none-any.whl
create mode 100644 pyvenv/meson.build
--
2.51.1