From 29aaee094fab89f488b735363f9ebc34cff0c813 Mon Sep 17 00:00:00 2001 From: "J. M. F. Tsang" Date: Mon, 21 Feb 2022 00:54:50 +0000 Subject: [PATCH] Add markupsafe==2.0.1 to requirement.txt This fixes a breaking change reported at https://github.com/pallets/markupsafe/issues/284. The errors were showing up in the heroku logs thus: 2022-02-21T00:47:47.248902+00:00 app[web.1]: from markupsafe import soft_unicode 2022-02-21T00:47:47.248903+00:00 app[web.1]: ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/app/.heroku/python/lib/python3.9/site-packages/markupsafe/__init__.py) --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 197b33a..ce3080b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ dotmap~=1.3.26 Flask~=1.1.2 Flask-WTF gunicorn~=20.1.0 +markupsafe==2.0.1 python-docx~=0.8.11 python-dotenv~=0.19.2 WTForms~=3.0.1