[PATCH] binman: migrate from pkg_resources to importlib
Bryan Brattlof
bb at ti.com
Wed Jun 11 14:38:59 CEST 2025
On June 10, 2025 thus sayeth Yannic Moog:
> 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>
Reviewed-by: Bryan Brattlof <bb at ti.com>
~Bryan
More information about the U-Boot
mailing list