qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avocado 88.1 vs Python 3.12


From: Daniel P . Berrangé
Subject: Re: Avocado 88.1 vs Python 3.12
Date: Thu, 11 Jul 2024 13:30:26 +0100
User-agent: Mutt/2.2.12 (2023-09-09)

On Thu, Jul 11, 2024 at 02:01:25PM +0200, Thomas Huth wrote:
> On 10/07/2024 01.45, Richard Henderson wrote:
> > On 7/9/24 09:26, Philippe Mathieu-Daudé wrote:
> > > On 9/7/24 17:41, Richard Henderson wrote:
> > > > Hi guys,
> > > > 
> > > > I have reinstalled my development box to ubuntu 24 (because the
> > > > Rust support is better than my previous install; ho hum).  I
> > > > thought I had tested everything in a VM before committing, but I
> > > > missed out on Avocado:
> > > > 
> > > > >   AVOCADO Downloading avocado tests VM image for aarch64
> > > > > Failed to load plugin from module "avocado.plugins.list":
> > > > > ModuleNotFoundError("No module named 'imp'") :
> > > 
> > > 
> > > > If I understand things correctly, the python "imp" package was
> > > > deprecated, and has been removed before v3.12.  This is fixed in
> > > > upstream avocado as of v93.  But we have a hard stop in
> > > > pythondeps.toml at v92.
> > > > 
> > > > Remind me what the blocker is to upgrading?
> > > 
> > > IIRC we're waiting for v2 of:
> > > https://lore.kernel.org/qemu-devel/20231208190911.102879-1-crosa@redhat.com/
> > 
> > Yes indeed.  There are two minor conflicts in rebasing this branch, but
> > otherwise it works.  Cleber, do you have time to pick this up again?
> 
> As an alternative, if nobody has time to work on that Avocado update, we
> could maybe also try to integrate the python-based tests directly with the
> meson test runner. A prototype can be found here:
> 
>  20240711115546.40859-1-thuth@redhat.com/">https://lore.kernel.org/qemu-devel/20240711115546.40859-1-thuth@redhat.com/

Ooh, that looks remarkably straightford. I'd love to see use using pytest as
the test harness, even if we keep using avocado framework in some of the
test case impls. 

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]