On Mon, Aug 25, 2025 at 11:44:46PM +0100, Adriano Carvalho wrote: > If I don't install pytest, this is what I get with > docker.io/trini/u-boot-gitlab-ci-runner:jammy-20250714-25Jul2025: > > uboot@35c89b9ab70e:~/u-boot$ make pdfdocs > [...] > WARNING: autodoc: failed to import module 'test_bind'; the following > exception was raised: > No module named 'pytest' [autodoc.import_object] > WARNING: autodoc: failed to import module 'test_bootmenu'; the following > exception was raised: > No module named 'pytest' [autodoc.import_object] > WARNING: autodoc: failed to import module 'test_bootstage'; the following > exception was raised: > No module named 'pytest' [autodoc.import_object] > WARNING: autodoc: failed to import module 'test_button'; the following > exception was raised: > No module named 'pytest' [autodoc.import_object] > WARNING: autodoc: failed to import module 'test_efi_loader'; the following > exception was raised: > No module named 'pytest' [autodoc.import_object] > WARNING: autodoc: failed to import module 'test_net'; the following exception > was raised: > No module named 'pytest' [autodoc.import_object] > WARNING: autodoc: failed to import module 'test_net_boot'; the following > exception was raised: > No module named 'pytest' [autodoc.import_object] > [...] > build finished with problems, 7 warnings (with warnings treated as errors). > make[1]: *** [doc/Makefile:84: latexdocs] Error 1 > make: *** [Makefile:2686: pdfdocs] Error 2 > > NOTE: This won't completely fix the pdfdocs target. See next commit(s). > > Signed-off-by: Adriano Carvalho <adrianocarvalho...@gmail.com>
This should instead say to install test/py/requirements.txt and it is a requirement for all doc targets. -- Tom
signature.asc
Description: PGP signature