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)

GitOrigin-RevId: 366c66b8f6eddc0d22028ef494c62bb757bd8b8b
  • Loading branch information
potiuk authored and Cloud Composer Team committed Oct 4, 2022
1 parent 7390b62 commit f31fbf3
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 @@ -133,7 +133,12 @@ install_requires =
lazy-object-proxy
lockfile>=0.12.2
markdown>=3.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 f31fbf3

Please sign in to comment.