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~

Reply via email to