Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

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

Closed
Krenodeno opened this issue Mar 28, 2022 · 0 comments
Closed

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

Krenodeno opened this issue Mar 28, 2022 · 0 comments

Comments

@Krenodeno
Copy link

Krenodeno commented Mar 28, 2022

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:
pallets/markupsafe#286 (comment)
pallets/jinja#1585

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

ncalexan added a commit to ncalexan/sphinx-js that referenced this issue Apr 22, 2022
While in the area, allow passing parameters to `pytest`, for example
to specify a single test file.
@lonnen lonnen closed this as completed in abb38d2 May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant