Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-26855

ImportError: cannot import name 'environmentfilter' from 'jinja2'

    XMLWordPrintableJSON

Details

    Description

      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]===========
      

      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

      Attachments

        Issue Links

          Activity

            People

              Juntao Hu Juntao Hu
              dianfu Dian Fu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: