Skip to content

git-deps fails to work with Flask >= 2.2 (safe_join has been removed in Flask) #110

@zorun

Description

@zorun

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: pallets/flask#4516

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions