From 91ef0c0d99207984c4f4a0ed3551ba5ea1a69d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 9 Aug 2022 13:03:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20Pin=20Flask=20to=202.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flask 2.2 requires werkzeug 2.2 which we can't upgrade to due to flask-login, and the current version pins might be causing issues in the field. TODO for 1.9.0: upgrade werkzeug & flask if possible with flask-login. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a5a4224e1..ece2d5147 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ core_deps = [ "Flask-Assets>=2.0,<3", "Flask-Babel>=2.0,<3", "Flask-Login>=0.5,<0.6", # flask-login doesn't use semver & breaks stuff on minor version increases - "flask>=2,<3", + "flask>=2.1,<2.2", # flask 2.2 requires werkzeug 2.2+ "frozendict>=2.0,<3", "future>=0.18.2,<1", # not really needed anymore, but leaving in for py2/3 compat plugins "markdown>=3.2.2,<4",