From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel <qemu-devel@nongnu.org>
Cc: "Cleber Rosa" <crosa@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>
Subject: Avocado 88.1 vs Python 3.12
Date: Tue, 9 Jul 2024 08:41:29 -0700 [thread overview]
Message-ID: <6d22c5c5-cab0-49d3-88a8-3dd34c8c4938@linaro.org> (raw)
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~
next reply other threads:[~2024-07-09 15:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 15:41 Richard Henderson [this message]
2024-07-09 16:26 ` Avocado 88.1 vs Python 3.12 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é
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d22c5c5-cab0-49d3-88a8-3dd34c8c4938@linaro.org \
--to=richard.henderson@linaro.org \
--cc=crosa@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).