[ https://issues.apache.org/jira/browse/FLINK-26855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-26855: ----------------------------------- Labels: pull-request-available (was: ) > ImportError: cannot import name 'environmentfilter' from 'jinja2' > ----------------------------------------------------------------- > > Key: FLINK-26855 > URL: https://issues.apache.org/jira/browse/FLINK-26855 > Project: Flink > Issue Type: Bug > Components: API / Python > Affects Versions: 1.15.0, 1.16.0 > Reporter: Dian Fu > Priority: Blocker > Labels: pull-request-available > > {code} > ar 24 17:38:39 ===========mypy checks... [SUCCESS]=========== > Mar 24 17:38:39 rm -rf _build/* > Mar 24 17:38:39 /__w/2/s/flink-python/dev/.conda/bin/sphinx-build -b html -d > _build/doctrees -a -W . _build/html > Mar 24 17:38:40 Traceback (most recent call last): > Mar 24 17:38:40 File "/__w/2/s/flink-python/dev/.conda/bin/sphinx-build", > line 6, in <module> > Mar 24 17:38:40 from sphinx.cmd.build import main > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/cmd/build.py", > line 23, in <module> > Mar 24 17:38:40 from sphinx.application import Sphinx > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/application.py", > line 42, in <module> > Mar 24 17:38:40 from sphinx.highlighting import lexer_classes, lexers > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/highlighting.py", > line 30, in <module> > Mar 24 17:38:40 from sphinx.ext import doctest > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/ext/doctest.py", > line 28, in <module> > Mar 24 17:38:40 from sphinx.builders import Builder > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/builders/__init__.py", > line 24, in <module> > Mar 24 17:38:40 from sphinx.io import read_doc > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/io.py", > line 42, in <module> > Mar 24 17:38:40 from sphinx.util.rst import append_epilog, docinfo_re, > prepend_prolog > Mar 24 17:38:40 File > "/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/sphinx/util/rst.py", > line 22, in <module> > Mar 24 17:38:40 from jinja2 import environmentfilter > Mar 24 17:38:40 ImportError: cannot import name 'environmentfilter' from > 'jinja2' > (/__w/2/s/flink-python/dev/.conda/lib/python3.7/site-packages/jinja2/__init__.py) > Mar 24 17:38:40 Makefile:76: recipe for target 'html' failed > Mar 24 17:38:40 make: *** [html] Error 1 > Mar 24 17:38:40 ==========sphinx checks... [FAILED]=========== > {code} > https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=33717&view=logs&j=9cada3cb-c1d3-5621-16da-0f718fb86602&t=c67e71ed-6451-5d26-8920-5a8cf9651901&l=23450 -- This message was sent by Atlassian Jira (v8.20.1#820001)