From dcfce75c0d836aacbdb3ba5d2ae4957f2be61c5c Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 18 Feb 2022 11:12:37 +0100 Subject: [PATCH] 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: 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) GitOrigin-RevId: 366c66b8f6eddc0d22028ef494c62bb757bd8b8b --- setup.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index d28f7f2ab89..52c2398e88e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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