From d3a5d7ab112b0684600db6c19d911d4d9829bf0e Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Thu, 15 Sep 2022 09:31:22 +0000 Subject: [PATCH] Dependencies - always include Flask (#5471) --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0b201fb3c..11b9e9f22 100755 --- a/setup.py +++ b/setup.py @@ -39,6 +39,8 @@ install_requires = [ "MarkupSafe!=2.0.0a1", # This is a Jinja2 dependency, 2.0.0a1 currently seems broken "Jinja2>=2.10.1", "importlib_metadata ; python_version < '3.8'", + "flask<2.2.0", # Required for the ThreadedMotoServer + "flask-cors" ] _dep_PyYAML = "PyYAML>=5.1" @@ -73,7 +75,7 @@ all_extra_deps = [ _dep_openapi, _setuptools, ] -all_server_deps = all_extra_deps + ["flask<2.2.0", "flask-cors"] +all_server_deps = all_extra_deps extras_per_service = {} for service_name in [