Skip to content

Commit 01b909b

Browse files
committed
Pin Markupsafe until we are able to upgrade Flask/Jinja (#21664)
Markupsafe 2.1.0 breaks with error: import name 'soft_unicode' from 'markupsafe'. This should be removed when either this issue is closed: pallets/markupsafe#284 or when we will be able to upgrade JINJA to newer version (currently limited due to Flask and Flask Application Builder) (cherry picked from commit 366c66b)
1 parent eb87aeb commit 01b909b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.cfg

+6-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,12 @@ install_requires =
132132
lazy-object-proxy
133133
lockfile>=0.12.2
134134
markdown>=2.5.2, <4.0
135-
markupsafe>=1.1.1
135+
# Markupsafe 2.1.0 breaks with error: import name 'soft_unicode' from 'markupsafe'.
136+
# This should be removed when either this issue is closed:
137+
# https://github.com/pallets/markupsafe/issues/284
138+
# or when we will be able to upgrade JINJA to newer version (currently limited due to Flask and
139+
# Flask Application Builder)
140+
markupsafe>=1.1.1,<2.1.0
136141
marshmallow-oneofschema>=2.0.1
137142
packaging>=14.0
138143
pendulum~=2.0

0 commit comments

Comments
 (0)