[PATCH v3] binman: migrate from pkg_resources to importlib
Tom Rini
trini at konsulko.com
Thu Jul 10 01:18:54 CEST 2025
On Tue, 01 Jul 2025 07:45:37 +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.
> Change from __name__ to __package__ as with the transition from
> pkg_resources to importlib_resources using __name__ results in
> TypeErrors [2].
>
> [...]
Applied to u-boot/master, thanks!
[1/1] binman: migrate from pkg_resources to importlib
commit: 538719cb6a77934d069e0e64f264457a59a9ebfc
--
Tom
More information about the U-Boot
mailing list