Skip to content

Upgrade Flask to 2.3.3 #44733

Description

@andrii-korotkov-verkada

Description

Right now Flask is pinned to be <2.3

airflow/hatch_build.py

Lines 387 to 390 in 3d421f7

# Flask 2.3 is scheduled to introduce a number of deprecation removals - some of them might be breaking
# for our dependencies - notably `_app_ctx_stack` and `_request_ctx_stack` removals.
# We should remove the limitation after 2.3 is released and our dependencies are updated to handle it
"flask>=2.2.1,<2.3",
. Update this to be <2.4 or <3.

Use case/motivation

This pin makes it pretty hard to use in some environments, such as Bazel-built monorepo with a Flask version higher than that. Also, an upgrade probably needs to happen eventually anyways.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:dependenciesIssues related to dependencies problemskind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions