Re: [PATCH] kunit: tool: Import missing importlib.abc

From: Brendan Higgins
Date: Fri Jan 21 2022 - 18:06:32 EST


On Wed, Jan 12, 2022 at 6:35 PM Michał Winiarski
<michal.winiarski@xxxxxxxxx> wrote:
>
> Python 3.10.0 contains:
> 9e09849d20 ("bpo-41006: importlib.util no longer imports typing (GH-20938)")
>
> It causes importlib.util to no longer import importlib.abs, which leads
> to the following error when trying to use kunit with qemu:
> AttributeError: module 'importlib' has no attribute 'abc'. Did you mean: '_abc'?
>
> Add the missing import.
>
> Signed-off-by: Michał Winiarski <michal.winiarski@xxxxxxxxx>

Thanks!

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>