[PATCH 1/2] test/py/requirements.txt: add setuptools

David Lechner dlechner at baylibre.com
Fri Nov 21 15:36:14 CET 2025


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 <dlechner at baylibre.com>
---
 test/py/requirements.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/py/requirements.txt b/test/py/requirements.txt
index f9eac7901fbf6bd61bfa211cf12285ceecca4fc1..3db6aef0e22286ecfa41d6fa4926b6a1baa814b2 100644
--- a/test/py/requirements.txt
+++ b/test/py/requirements.txt
@@ -3,3 +3,4 @@ pycryptodomex==3.21.0
 pytest==8.4.2
 pytest-xdist==2.5.0
 FATtools==1.0.42
+setuptools==80.9.0

-- 
2.43.0



More information about the U-Boot mailing list