-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Upon installing and using Jinja2==2.11.3, the dependency requirement is
MarkupSafe [required: >=0.23]
This installs the latest MarkupSafe==2.1.0 which gives the following error when using the Jinja2 packages
File "/usr/local/lib/python3.7/site-packages/jinja2/__init__.py", line 12, in <module>
from .environment import Environment
File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 25, in <module>
from .defaults import BLOCK_END_STRING
File "/usr/local/lib/python3.7/site-packages/jinja2/defaults.py", line 3, in <module>
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/usr/local/lib/python3.7/site-packages/jinja2/filters.py", line 13, in <module>
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/site-packages/markupsafe/__init__.py)
Note: This works fine with MarkupSafe 2.0.1
Environment:
- Python version: 3.7.12
- Jinja2 version: 2.11.3
felipehertzer, yu-iskw, GokulRajakumarTR, petertang2012, csadorf and 24 morewalkingpendulum
Metadata
Metadata
Assignees
Labels
No labels