From ccd5fa56a239d42830cb6825b779bc5aa141ee93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 29 Mar 2022 10:38:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20Pin=20werkzeug=20to=202.0.x=20fo?= =?UTF-8?q?r=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently werkzeug removes stuff on minor releases and that just broke flask-login 0.5. A newer version isn't out yet, so we pin to a lower version of werkzeug for 1.8.0 and will then see what to do with this situation for 1.9 and later (potentially even vendor flask-login as it appears pretty dead currently). --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2d5dc5126..1a1e33f93 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,6 @@ core_deps = [ "filetype>=1.0.7,<2", "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", "frozendict>=2.0,<3", "future>=0.18.2,<1", # not really needed anymore, but leaving in for py2/3 compat plugins @@ -62,6 +61,7 @@ core_deps = [ "tornado>=6.0.4,<7", "watchdog>=1,<2", "websocket-client>=1.2.1,<2", + "werkzeug>=2.0,<2.1", # breaking changes can happen on minor version increases, flask-login 0.5 is incompatible with 2.1 "wrapt>=1.13.3,<1.14", "zeroconf>=0.33,<0.34", # breaking changes can happen on minor version increases "zipstream-ng>=1.3.4,<2.0.0",