This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 91eeb9d5597 Remove various upper version bounds in the FAB provider
(#63868)
91eeb9d5597 is described below
commit 91eeb9d55979bd9ca5715271252e4df63e17916f
Author: Dev-iL <[email protected]>
AuthorDate: Thu Mar 19 14:48:07 2026 +0200
Remove various upper version bounds in the FAB provider (#63868)
With uv dependency resolution, upstream limits are automatically enforced.
---
providers/fab/docs/index.rst | 8 ++++----
providers/fab/pyproject.toml | 11 ++++-------
uv.lock | 8 ++++----
3 files changed, 12 insertions(+), 15 deletions(-)
diff --git a/providers/fab/docs/index.rst b/providers/fab/docs/index.rst
index 5aaed840069..45b778c5c80 100644
--- a/providers/fab/docs/index.rst
+++ b/providers/fab/docs/index.rst
@@ -110,7 +110,7 @@ PIP package Version required
``apache-airflow`` ``>=3.0.2``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``blinker`` ``>=1.6.2``
-``flask`` ``>=2.2.1,<2.3``
+``flask`` ``>=2.2.1``
``flask-appbuilder`` ``==5.2.0``
``flask-login`` ``>=0.6.2``
``flask-session`` ``>=0.8.0``
@@ -118,11 +118,11 @@ PIP package Version
required
``flask-sqlalchemy`` ``>=3.0.5``
``flask-wtf`` ``>=1.1.0``
``jmespath`` ``>=0.7.0``
-``werkzeug`` ``>=2.2,<4``
-``wtforms`` ``>=3.0,<4``
+``werkzeug`` ``>=2.2``
+``wtforms`` ``>=3.0``
``cachetools`` ``>=6.0``
``marshmallow`` ``>=3``
-``flask_limiter`` ``>3,!=3.13,<4``
+``flask_limiter`` ``>3,!=3.13``
========================================== ==================
Cross provider package dependencies
diff --git a/providers/fab/pyproject.toml b/providers/fab/pyproject.toml
index fb2ceacd697..90b04ac95b3 100644
--- a/providers/fab/pyproject.toml
+++ b/providers/fab/pyproject.toml
@@ -70,10 +70,7 @@ dependencies = [
# Blinker use for signals in Flask, this is an optional dependency in
Flask 2.2 and lower.
# In Flask 2.3 it becomes a mandatory dependency, and flask signals are
always available.
"blinker>=1.6.2",
- # 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",
+ "flask>=2.2.1",
# We are tightly coupled with FAB version as we vendored-in part of FAB
code related to security manager
# This is done as part of preparation to removing FAB as dependency, but
we are not ready for it yet
# Every time we update FAB version here, please make sure that you review
the classes and models in
@@ -86,14 +83,14 @@ dependencies = [
"flask-sqlalchemy>=3.0.5",
"flask-wtf>=1.1.0",
"jmespath>=0.7.0",
- "werkzeug>=2.2,<4",
- "wtforms>=3.0,<4",
+ "werkzeug>=2.2",
+ "wtforms>=3.0",
"cachetools>=6.0",
"marshmallow>=3",
#
https://github.com/dpgaspar/Flask-AppBuilder/blob/release/4.6.3/setup.py#L54C8-L54C26
# with an exclusion to account for
https://github.com/alisaifee/flask-limiter/issues/479
- "flask_limiter>3,<4,!=3.13",
+ "flask_limiter>3,!=3.13",
]
# The optional dependencies should be modified in place in the generated file
diff --git a/uv.lock b/uv.lock
index 94bfb03842d..68fca1a5032 100644
--- a/uv.lock
+++ b/uv.lock
@@ -4575,9 +4575,9 @@ requires-dist = [
{ name = "apache-airflow-providers-common-compat", editable =
"providers/common/compat" },
{ name = "blinker", specifier = ">=1.6.2" },
{ name = "cachetools", specifier = ">=6.0" },
- { name = "flask", specifier = ">=2.2.1,<2.3" },
+ { name = "flask", specifier = ">=2.2.1" },
{ name = "flask-appbuilder", specifier = "==5.2.0" },
- { name = "flask-limiter", specifier = ">3,!=3.13,<4" },
+ { name = "flask-limiter", specifier = ">3,!=3.13" },
{ name = "flask-login", specifier = ">=0.6.2" },
{ name = "flask-session", specifier = ">=0.8.0" },
{ name = "flask-sqlalchemy", specifier = ">=3.0.5" },
@@ -4586,8 +4586,8 @@ requires-dist = [
{ name = "kerberos", marker = "extra == 'kerberos'", specifier = ">=1.3.0"
},
{ name = "marshmallow", specifier = ">=3" },
{ name = "msgpack", specifier = ">=1.0.0" },
- { name = "werkzeug", specifier = ">=2.2,<4" },
- { name = "wtforms", specifier = ">=3.0,<4" },
+ { name = "werkzeug", specifier = ">=2.2" },
+ { name = "wtforms", specifier = ">=3.0" },
]
provides-extras = ["kerberos"]