[PATCH] pylibfdt: Fix disable version normalization

Marek Vasut marex at denx.de
Wed Jan 4 15:51:08 CET 2023


On 1/4/23 15:43, Philippe Schenker wrote:
> From: Philippe Schenker <philippe.schenker at toradex.com>
> 
> 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 at toradex.com>

Nice, thank you.

Reviewed-by: Marek Vasut <marex at denx.de>

+CC Tom, this should go into this 2023.01 release.


More information about the U-Boot mailing list