mozilla / sphinx-js

Autodoc-style extraction into Sphinx for your JS project
https://pypi.python.org/pypi/sphinx-js/
MIT License
282 stars 81 forks source link

ImportError: cannot import name 'soft_unicode' from 'markupsafe' #190

Closed Krenodeno closed 2 years ago

Krenodeno commented 2 years ago

When building the doc with a basic Sphinx (4.5.0) project, with the sphinx-js (3.1.2) extension, running sphinx-build print an ImportError: cannot import name 'soft_unicode' from 'markupsafe'.

Jinja2 is now deprecated, and it is advised to upgrade: https://github.com/pallets/markupsafe/issues/286#issuecomment-1044491026 https://github.com/pallets/jinja/issues/1585

There was already an issue opened about that, but it was closed (along with the related PR) without any comments: #179