[PATCH 1/1] binman: fallback to importlib_resources on Python 3.8

Quentin Schulz quentin.schulz at cherry.de
Wed Dec 3 15:35:15 CET 2025


Hi Chukun Pan,

On 12/2/25 11:00 AM, Chukun Pan wrote:
> 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'
> 

Source: 
https://docs.python.org/3/library/importlib.resources.html#importlib.resources.files

which mentions this is added in version 3.9.

Acked-by: Quentin Schulz <quentin.schulz at cherry.de>

Thanks!
Quentin


More information about the U-Boot mailing list