forked from loafle/openapi-generator-original
bug fix: breaking dependency of flask server gen (#17611)
Because the requirements file does not limit connexion version to below 3.0, with release of connexion 3.0 the openapi server startup sequence runs into a module not found issue. This contraint is preventing that.
This commit is contained in:
parent
64c763b87a
commit
9391354b85
@ -1,6 +1,8 @@
|
|||||||
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
|
connexion[swagger-ui] >= 2.6.0; python_version>="3.6"
|
||||||
# 2.3 is the last version that supports python 3.4-3.5
|
# 2.3 is the last version that supports python 3.4-3.5
|
||||||
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
|
connexion[swagger-ui] <= 2.3.0; python_version=="3.5" or python_version=="3.4"
|
||||||
|
# prevent breaking dependencies from advent of connexion>=3.0
|
||||||
|
connexion[swagger-ui] <= 2.14.2; python_version>"3.4"
|
||||||
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
|
# connexion requires werkzeug but connexion < 2.4.0 does not install werkzeug
|
||||||
# we must peg werkzeug versions below to fix connexion
|
# we must peg werkzeug versions below to fix connexion
|
||||||
# https://github.com/zalando/connexion/pull/1044
|
# https://github.com/zalando/connexion/pull/1044
|
||||||
|
Loading…
x
Reference in New Issue
Block a user