On Wed, Sep 03, 2025 at 01:11:16AM -0400, John Snow wrote: > Based on the discussion at https://github.com/pypa/pip/issues/9726 - > even though the setuptools documentation implies that it is possible to > guard script execution with optional dependency groups, this is not true > in practice with the scripts generated by pip. > > Just do the simple thing and guard the import statements. > > Signed-off-by: John Snow <js...@redhat.com> > cherry picked from commit df520dcacf9a75dd4c82ab1129768de4128b554c > Signed-off-by: John Snow <js...@redhat.com> > --- > python/qemu/qmp/qmp_tui.py | 19 +++++++++++++++---- > 1 file changed, 15 insertions(+), 4 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|