Dependencies - always include Flask (#5471)

This commit is contained in:
Bert Blommers 2022-09-15 09:31:22 +00:00 committed by GitHub
parent 62033d0a42
commit d3a5d7ab11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 [