[PATCH 0/1] u_boot_pylib: disable standalone module detection

Paul HENRYS paul.henrys_ext at softathome.com
Fri Apr 3 15:25:59 CEST 2026


Hi Simon,

My apologies. I actually sent the wrong patch and in principle it was 
also sent to the mailing list but this first version should be discarded 
and the second version reviewed. Unfortunately, when I sent the patch 
version 2, I forgot to add the reference of the first patch series...
The second version of this patch series is 
https://patchwork.ozlabs.org/project/uboot/patch/20260331080636.380507-2-paul.henrys_ext@softathome.com/.
Sorry again for the mess...

Kind regards,
Paul

On 03/04/2026 15:18, Simon Glass wrote:
> Hi Paul,
>
> Can you please send this to the mailing list too?
>
> Regards,
> Simon
>
> On Mon, 30 Mar 2026 at 08:19, Paul HENRYS
> <paul.henrys_ext at softathome.com> wrote:
>> Do not try to detect standalone python modules at the top level, so setuptools
>> stops searching for: command, terminal, ... as independent modules and instead
>> relies on package discovery.
>>
>> Steps to reproduce the issue without the patch:
>>
>> git clone https://source.denx.de/u-boot/u-boot.git
>> cd u-boot
>> python3 -m venv myenv
>> source myenv/bin/activate
>> pip3 install tools/u_boot_pylib/
>> ...
>> error: Multiple top-level modules discovered in a flat-layout: ['command', 'terminal', 'test_util', 'tout', 'cros_subprocess', 'tools', 'gitutil'].
>>
>> Paul HENRYS:
>>    tools: u_boot_pylib: disable standalone module detection
>>
>>   tools/u_boot_pylib/pyproject.toml | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> --
>> 2.43.0
>>


More information about the U-Boot mailing list