On Fri, Nov 21, 2025 at 08:36:14AM -0600, David Lechner wrote:
> Add setuptools to test/py/requirements.txt. Otherwise, attempting to run
> tests can fail as follows:
> 
>     $ ./test/py/test.py --bd sandbox --build
>     +make O=u-boot/build-sandbox -s sandbox_defconfig
>     +make O=u-boot/build-sandbox -s -j32
>     Traceback (most recent call last):
>       File "u-boot/build-sandbox/../scripts/dtc/pylibfdt/setup.py", line 23, 
> in <module>
>         from setuptools import setup, Extension
>     ModuleNotFoundError: No module named 'setuptools'
> 
> Signed-off-by: David Lechner <[email protected]>
> ---
>  test/py/requirements.txt | 1 +
>  1 file changed, 1 insertion(+)

NAK. It's the build of U-Boot that requires setuptools (specifically
scripts/dtc/pylibfdt), not pytest. It was dropped as part of cleaning up
the test/py/requirements.txt file before. A top-level project
requirements.txt file would help avoid these problems, but we don't yet
have agreement on that.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to