-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import error in Jinja 2.10.x/2.11.x #1594
Comments
Duplicate of #1585 You are using an unsupported version of Jinja, please update to the latest version if possible. Additionally, please read https://hynek.me/articles/semver-will-not-save-you/, then use a tool like pip-tools to pin your dependencies and control when you get updates. Be sure to run your tests with deprecation warnings treated as errors so that you get notified of these types of changes early. |
Sorry... it's not clear from the comments - is this fix (to replace 'soft_unicode' with 'soft_str') coming? How soon? |
This is fixed in the supported versions of Jinja. Upgrade Jinja. Pin your dependencies with pip-tools or another dependency management tool to avoid unexpected updates in general. |
Jinja 2.10.x installs the latest update of Markupsafe 2.1.0 released yesterday, which resolves in an ImportError.
This seems to be caused by the removal of
soft_unicode
from markupsafe in that version.How to replicate:
In a terminal:
Traceback:
Note:
Installing the last MarkupSafe version before 2.1.0 fixes this issue:
Environment:
The text was updated successfully, but these errors were encountered: