Skip to content

flask: avoid warnings reading recent flask versions#2635

Merged
xrmx merged 1 commit into
elastic:mainfrom
xrmx:flask-version-warnings
May 15, 2026
Merged

flask: avoid warnings reading recent flask versions#2635
xrmx merged 1 commit into
elastic:mainfrom
xrmx:flask-version-warnings

Conversation

@xrmx
Copy link
Copy Markdown
Member

@xrmx xrmx commented May 14, 2026

What does this pull request do?

Before accessing flask.__version__ try to read the version from the metadata.

Related issues

Closes #2626

@xrmx xrmx requested a review from a team as a code owner May 14, 2026 13:59
@github-actions
Copy link
Copy Markdown

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@xrmx xrmx merged commit a537941 into elastic:main May 15, 2026
99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The '__version__' attribute is deprecated and will be removed in Flask 3.2.

2 participants