qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Avocado 88.1 vs Python 3.12
@ 2024-07-09 15:41 Richard Henderson
  2024-07-09 16:26 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Henderson @ 2024-07-09 15:41 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cleber Rosa, Paolo Bonzini, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta

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'") :
>   File "/home/rth/qemu/bld/pyvenv/lib/python3.12/site-packages/avocado/core/extension_manager.py", line 63, in __init__
>     plugin = ep.load()
>              ^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2518, in load
>     return self.resolve()
>            ^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2524, in resolve
>     module = __import__(self.module_name, fromlist=['__name__'], level=0)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/home/rth/qemu/bld/pyvenv/lib/python3.12/site-packages/avocado/plugins/list.py", line 19, in <module>
>     from avocado.core import exit_codes, loader, parser_common_args
>   File "/home/rth/qemu/bld/pyvenv/lib/python3.12/site-packages/avocado/core/loader.py", line 20, in <module>
>     import 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?


r~


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-11 12:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 15:41 Avocado 88.1 vs Python 3.12 Richard Henderson
2024-07-09 16:26 ` Philippe Mathieu-Daudé
2024-07-09 23:45   ` Richard Henderson
2024-07-11 12:01     ` Thomas Huth
2024-07-11 12:30       ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).