[PATCH v2] binman: migrate from pkg_resources to importlib
Tom Rini
trini at konsulko.com
Fri Jun 27 22:00:15 CEST 2025
On Fri, Jun 27, 2025 at 09:07:36AM +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
>
> Reviewed-by: Bryan Brattlof <bb at ti.com>
> Signed-off-by: Yannic Moog <y.moog at phytec.de>
> ---
> Changes in v2:
> - rebase on to next
> - Link to v1: https://lore.kernel.org/r/20250610-pkg_resoures-removal-v1-1-97a269446d35@phytec.de
> ---
> tools/binman/control.py | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
This still fails in CI:
https://dev.azure.com/u-boot/a1096300-2999-4ec4-a21a-4c22075e3771/_apis/build/builds/11529/logs/83
and also Gitlab. Please see
https://docs.u-boot.org/en/latest/develop/ci_testing.html and make sure
CI passes before posting v3, 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/20250627/10dc2221/attachment.sig>
More information about the U-Boot
mailing list