Skip to content

Avoid using deprecated flask.__version__ #365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

imjoehaines
Copy link
Contributor

Goal

Flask is removing their __version__ attribute (see #364) so we can no longer rely on this to report the current Flask version

Instead we need to use importlib.metadata on Python 3.8+ or pkg_resources on older versions (partially reverting #362)

@imjoehaines imjoehaines merged commit 7bfc823 into next Dec 4, 2023
@imjoehaines imjoehaines deleted the flask-deprecation branch December 4, 2023 09:57
@imjoehaines imjoehaines mentioned this pull request Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants