From 0fde263af953b6360b0b0841111233bccf4fa4d5 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 18 Feb 2022 10:02:42 +0100 Subject: [PATCH] Pin Markupsafe until we are able to upgrade Flask/Jinja 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) --- setup.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index d28f7f2ab89da..52c2398e88e35 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