Skip to content

Commit

Permalink
Pin Markupsafe until we are able to upgrade Flask/Jinja (#21664)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
potiuk committed Feb 18, 2022
1 parent eb87aeb commit 01b909b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.cfg
Expand Up @@ -132,7 +132,12 @@ install_requires =
lazy-object-proxy
lockfile>=0.12.2
markdown>=2.5.2, <4.0
markupsafe>=1.1.1
# Markupsafe 2.1.0 breaks with error: import name 'soft_unicode' from 'markupsafe'.
# This should be removed when either this issue is closed:
# https://github.com/pallets/markupsafe/issues/284
# or when we will be able to upgrade JINJA to newer version (currently limited due to Flask and
# Flask Application Builder)
markupsafe>=1.1.1,<2.1.0
marshmallow-oneofschema>=2.0.1
packaging>=14.0
pendulum~=2.0
Expand Down

0 comments on commit 01b909b

Please sign in to comment.