Skip to content

Pin Flask to version 2.1.3

Vignesh Raman requested to merge wip/vignesh/pin-flask-version into master

_lookup_app_object is removed in Flask version 2.2.0. Due to this flask-dance 6.0.0 is incompatable with Flask >=2.2.0. So this results in below error when Flask 2.1.3 is used for qa-report-app,

ImportError: cannot import name '_lookup_app_object' from 'flask.globals'

https://github.com/singingwolfboy/flask-dance/issues/396 https://github.com/pallets/flask/commit/0b2f809f9b56861dae3ae5154d73b4afaf632a0a

So pin Flask to version 2.1.3 to fix this error.

https://phabricator.apertis.org/T9128

Edited by Vignesh Raman

Merge request reports