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 <[email protected]>
> ---
> 
>  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

Attachment: signature.asc
Description: PGP signature

Reply via email to