Issue with CI/CD

Patrice CHOTARD patrice.chotard at foss.st.com
Mon Mar 28 09:56:34 CEST 2022



On 3/28/22 09:52, Patrice CHOTARD wrote:
> Hi all
> 
> Since this morning, Testsuites "htmldocs" is failing (see log below) which is blocking
> all others tests ("test.py" and "World build")
> 
> 
> $ make htmldocs
>   HOSTCC  scripts/basic/fixdep
>   SPHINX  htmldocs --> file:///builds/u-boot/custodians/u-boot-stm/doc/output
>   PARSE   include/linker_lists.h
> Traceback (most recent call last):
>   File "/tmp/venvhtml/bin/sphinx-build", line 5, in <module>
>     from sphinx.cmd.build import main
>   File "/tmp/venvhtml/lib/python3.8/site-packages/sphinx/cmd/build.py", line 25, in <module>
>     from sphinx.application import Sphinx
>   File "/tmp/venvhtml/lib/python3.8/site-packages/sphinx/application.py", line 43, in <module>
>     from sphinx.registry import SphinxComponentRegistry
>   File "/tmp/venvhtml/lib/python3.8/site-packages/sphinx/registry.py", line 24, in <module>
>     from sphinx.builders import Builder
>   File "/tmp/venvhtml/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 26, in <module>
>     from sphinx.util import import_object, logging, progress_message, rst, status_iterator
>   File "/tmp/venvhtml/lib/python3.8/site-packages/sphinx/util/rst.py", line 21, in <module>
>     from jinja2 import Environment, environmentfilter
> ImportError: cannot import name 'environmentfilter' from 'jinja2' (/tmp/venvhtml/lib/python3.8/site-packages/jinja2/__init__.py)
> make[1]: *** [doc/Makefile:68: htmldocs] Error 1
> make: *** [Makefile:2391: htmldocs] Error 2
> Cleaning up project directory and file based variables 00:03
> ERROR: Job failed: exit code 1
> 
> For information, last friday, it was working. The only difference was regarding jinja2 package:
> 
> On friday, i noticed that Jinja2-3.1.1-py3-none-any.whl was used. 
> 
> "Collecting Jinja2>=2.3
>   Downloading Jinja2-3.1.1-py3-none-any.whl (132 kB)"
> 
> But today, it's a different version :
> 
> "Collecting Jinja2>=2.3
>   Downloading Jinja2-3.1.1-py3-none-any.whl (132 kB)"
> 

Sorry, copy-paste error :

But today, it's a different version :

Collecting Jinja2>=2.3
  Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)

> Patrice



More information about the U-Boot mailing list