[PATCH] binman: migrate from pkg_resources to importlib

Tom Rini trini at konsulko.com
Thu Jun 26 18:18:51 CEST 2025


On Tue, Jun 10, 2025 at 02:26:12PM +0200, Yannic Moog wrote:

> pkg_resources is deprecated, use migration guide in [1] to migrate to
> importlib.resources.
> Keep the Python 3.6 backwards compatibility.
> This also fixes the binman version test which failed for setuptools
> versions that print the deprecation warning.
> 
> [1] https://importlib-resources.readthedocs.io/en/latest/migration.html
> 
> Signed-off-by: Yannic Moog <y.moog at phytec.de>
> ---
>  tools/binman/control.py | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

I had to rebase this on to next just now and I thought it was right and
easy. However, *tons* of platforms fail now, so please rebase on top of
current next, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250626/1d8f1ac8/attachment.sig>


More information about the U-Boot mailing list