[PATCH 4/9] u_boot_pylib: Require setuptools for building pylibfdt

Tom Rini trini at konsulko.com
Tue Jun 16 17:00:47 CEST 2026


On Tue, Jun 16, 2026 at 08:28:44AM -0600, Simon Glass wrote:

> Building the pylibfdt bindings (scripts/dtc/pylibfdt/setup.py) needs
> setuptools. In the tree this comes only from patman's requirements.txt,
> which a later patch removes.
> 
> Add setuptools to u_boot_pylib's requirements instead, where it is
> available to every tool that builds pylibfdt.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  tools/u_boot_pylib/requirements.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/u_boot_pylib/requirements.txt b/tools/u_boot_pylib/requirements.txt
> index 1087e6f2857..0f6a230d522 100644
> --- a/tools/u_boot_pylib/requirements.txt
> +++ b/tools/u_boot_pylib/requirements.txt
> @@ -1 +1,3 @@
>  concurrencytest==0.1.2
> +# Needed to build the pylibfdt bindings (scripts/dtc/pylibfdt/setup.py)
> +setuptools==78.1.1

This is covered by scripts/dtc/pylibfdt/requirements.txt already and is
what should be used when pylibfdt bindings are needed. This does likely
mean the CI jobs have been omitting this as patman was pulling it in.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260616/11a00cba/attachment.sig>


More information about the U-Boot mailing list