Closed zorun closed 2 years ago
I installed git-deps via pip, and it fails to start in server mode:
$ git deps -s Cannot find flask module which is required for webserver mode.
After some debugging, it turns out that the safe_join import fails because that function has just been removed from Flask: https://github.com/pallets/flask/issues/4516
safe_join
Since git-deps does not pin constrain the dependency on flask, it pulls the latest available version.
The workaround I'm using for now is:
$ pip install 'flask<2.1'
I meet a same issue
Thanks a lot for the report and the fix!
I installed git-deps via pip, and it fails to start in server mode:
After some debugging, it turns out that the
safe_join
import fails because that function has just been removed from Flask: https://github.com/pallets/flask/issues/4516Since git-deps does not pin constrain the dependency on flask, it pulls the latest available version.
The workaround I'm using for now is: