[PATCH] test: Add setuptools to test requirements.txt

Javier Tia javier.tia at linaro.org
Mon May 5 22:50:51 CEST 2025


It solves the following error:

❯ ./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: Javier Tia <javier.tia at linaro.org>
---
 test/py/requirements.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/py/requirements.txt b/test/py/requirements.txt
index 804a427b351..5be94a44912 100644
--- a/test/py/requirements.txt
+++ b/test/py/requirements.txt
@@ -3,3 +3,4 @@ pycryptodomex==3.21.0
 pytest==6.2.5
 pytest-xdist==2.5.0
 FATtools==1.0.42
+setuptools==80.3.1
-- 
2.49.0



More information about the U-Boot mailing list