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 366c66b8f6eddc0d22028ef494c62bb757bd8b8b)

GitOrigin-RevId: 01b909b5f71ec1d4563be23b3c590bd4240d513d
  • Loading branch information
potiuk authored and Cloud Composer Team committed Jun 4, 2022
1 parent 8a50e31 commit 29925f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
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 29925f1

Please sign in to comment.