-
-
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
MarkupSafe 2.1.0 gives ImportError(soft_unicode) for Jinja2 2.11.3 #1587
Comments
We also start facing the same , downgrading the MarkupSafe==2.0.1 works fine for now |
They removed soft_unicode and one has to use soft_str instead. https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0 |
Yes, but not something that consumers of Jinja2 2.11.3 can do right? We have tons of released versions in production that are locked on Jinja2 2.11, and releasing patches for all is going to be painful. A bit unexpected that MarkupSafe is breaking in this way in minor versions. |
Wouldn't it be possible to fix the dependency to the below and republish Jinja2 2.11.3?
|
The |
I have same problem. Please fix jinja2 markupsafe package dependency |
@ivan2angelov I created similar issue in #1585 and I got this answer
|
pallets/jinja#1587 Task #048600
pallets/jinja#1587 Task #048600
pallets/jinja#1587 Task #048600
This comment was marked as off-topic.
This comment was marked as off-topic.
Quick note, to fix our pipelines we just pinned the
|
We did the same and we'll probably start using pip-tools to pin all dependencies going forward.
|
Duplicate of #1585 You are using an unsupported version of the project, please update to the latest version. 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. |
Upon installing and using Jinja2==2.11.3, the dependency requirement is
This installs the latest
MarkupSafe==2.1.0
which gives the following error when using the Jinja2 packagesNote: This works fine with
MarkupSafe 2.0.1
Environment:
The text was updated successfully, but these errors were encountered: