[PATCH] tools: Fall back to importlib_resources on Python 3.6

Simon Glass sjg at chromium.org
Mon Apr 24 21:42:06 CEST 2023


On Sat, 22 Apr 2023 at 08:42, Jan Kiszka <jan.kiszka at siemens.com> wrote:
>
> From: Jan Kiszka <jan.kiszka at siemens.com>
>
> importlib.resources became part of 3.7 only. Allow using distros with
> 3.6 and the importlib_resources backport.
>
> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
> ---
>
> Tested on OpenSUSE 15.4 with importlib_resources 1.1.0.
>
>  tools/binman/control.py   | 6 +++++-
>  tools/buildman/control.py | 6 +++++-
>  tools/patman/__main__.py  | 6 +++++-
>  3 files changed, 15 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list