set the upper bound version of Jinja2

Jinja2 has published 3.1.x version and it will throw ImportError, thus we have to set a upper bound version of Jinja2
This commit is contained in:
NeoZhao 2022-04-05 22:33:00 +08:00 committed by GitHub
parent d92b64aa27
commit 0f48de516c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ setup(
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
install_requires=[
'Werkzeug>=0.14',
'Jinja2>=2.4',
'Jinja2>=2.4, <3.1',
'itsdangerous>=0.21',
'click>=2.0',
],