Pin Jinja to below 3.1.x

We can’t upgrade to Jinja 3.1.0 because the `escape` module has been
moved to the `markupsafe` library. The old version of Flask we are
using tries to import `escape` from `jinja2`, causing an error.

See https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0
This commit is contained in:
Chris Hill-Scott
2022-05-05 14:01:36 +01:00
parent 80ad40f587
commit 75a57568b6
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ Flask-WTF==1.0.1
wtforms==3.0.1
Flask-Login==0.6.1
werkzeug==2.1.2
jinja2==3.1.2
jinja2==3.0.3 # Cant be upgraded until we are using Flask >= 2
blinker==1.4
pyexcel==0.7.0

View File

@@ -91,7 +91,7 @@ itsdangerous==1.1.0
# flask
# flask-wtf
# notifications-utils
jinja2==3.1.2
jinja2==3.0.3
# via
# -r requirements.in
# flask