dmlc / dmlc/GNNLens2

ImportError: cannot import name 'safe_join' from 'flask'

Open
#14 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
263
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Since `2.1.0`, `flask` deprecates `safe_join`, as elaborated in its release note [here](https://github.com/pallets/flask/blob/45fc77d9266cd8101b2ab1e0487053db27b57ec2/CHANGES.rst#version-210). For now, a workaround is to degrade flask to an older version like `pip install Flask==2.0.3`. This should be fixed in the future release of GNNLens2 by either restricting Flask version or follow the latest recommended practice.

Credit to @SherylHYX for reporting the issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.