summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorYannic Moog <[email protected]>2025-07-01 07:45:37 +0200
committerTom Rini <[email protected]>2025-07-09 10:39:22 -0600
commit538719cb6a77934d069e0e64f264457a59a9ebfc (patch)
tree4b64de6efb1e56acf075926dd34302afa402c130 /include/linux/linux_string.h
parentbbca681cde3f0859847bd542e491294fd9d67656 (diff)
binman: migrate from pkg_resources to importlib
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]. [1] https://importlib-resources.readthedocs.io/en/latest/migration.html [2] https://github.com/python/importlib_resources/issues/60 Reviewed-by: Bryan Brattlof <[email protected]> Signed-off-by: Yannic Moog <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions