]> git.dujemihanovic.xyz Git - u-boot.git/commit
pylibfdt: Fix disable version normalization
authorPhilippe Schenker <philippe.schenker@toradex.com>
Wed, 4 Jan 2023 14:43:33 +0000 (15:43 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Jan 2023 13:14:19 +0000 (08:14 -0500)
commit141659187667e83cc89e3a1e9d1d5640e0059df3
tree7ef40816095a7eb12f4a80856f98592726e837af
parent519e6641dbdd46907feac094ccd032743f4174b0
pylibfdt: Fix disable version normalization

On Arch Linux based systems python setuptools does not contain
"setuptools.extern" hence it is failing with the following
error-message:
"
ModuleNotFoundError: No module named 'setuptools.extern'
"

According to a eschwartz `setuptools.extern` is not a public API and
shall not be assumed to be present in the setuptools package. He
mentions that the setuptools project anyway wants to drop this. [1]

Use the correct solution introduced by python setuptools developers to
disable normalization. [2]

[1] https://bbs.archlinux.org/viewtopic.php?id=259608
[2] https://github.com/pypa/setuptools/pull/2026
Fixes: 440098c42e73 ("pylibfdt: Fix version normalization warning")
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/dtc/pylibfdt/setup.py