diff options
| author | Chukun Pan <[email protected]> | 2025-12-02 18:00:00 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-04 13:45:10 -0600 |
| commit | 02aa1a56a7cfcb858973ef8965e54cf539060fd9 (patch) | |
| tree | 56b0927c7223556eb2cf95277dd1c0dbee5e8757 /test | |
| parent | 97e202a72160ea038dda46130d911546e66a189c (diff) | |
binman: fallback to importlib_resources on Python 3.8
Python 3.7 and 3.8 lack the files attribute in importlib.resources.
Use importlib_resources to fix build errors with Python 3.8:
binman: module 'importlib.resources' has no attribute 'files'
Fixes: 538719cb6a77 ("binman: migrate from pkg_resources to importlib")
Signed-off-by: Chukun Pan <[email protected]>
Acked-by: Quentin Schulz <[email protected]>
[trini: Re-add # pragma: no cover line]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
