Skip to content

Commit 4c649eb

Browse files
committed
Remove SQLA 1 limit in Fab provider
1 parent 011bbfa commit 4c649eb

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

airflow-core/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ dependencies = [
128128
"rich-argparse>=1.0.0",
129129
"rich>=13.6.0",
130130
"setproctitle>=1.3.3",
131-
# The issue tracking deprecations for sqlalchemy 2 is https://github.com/apache/airflow/issues/28723
132-
"sqlalchemy[asyncio]>=1.4.49",
131+
# SQLAlchemy >=2.0.36 fixes Python 3.13 TypingOnly import AssertionError caused by new typing attributes (__static_attributes__, __firstlineno__)
132+
"sqlalchemy[asyncio]>=2.0.36",
133133
"sqlalchemy-jsonfield>=1.0",
134134
"sqlalchemy-utils>=0.41.2",
135135
"svcs>=25.1.0",

providers/fab/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,9 @@ dependencies = [
7272
# In particular, make sure any breaking changes, for example any new methods, are accounted for.
7373
"flask-appbuilder==5.0.1; python_version < '3.13'",
7474
"flask-login>=0.6.2; python_version < '3.13'",
75-
# Flask-Session 0.6 add new arguments into the SqlAlchemySessionInterface constructor as well as
76-
# all parameters now are mandatory which make AirflowDatabaseSessionInterface incompatible with this version.
7775
"flask-session>=0.8.0; python_version < '3.13'",
7876
"msgpack>=1.0.0; python_version < '3.13'",
7977
"flask-sqlalchemy>=3.0.5; python_version < '3.13'",
80-
"sqlalchemy>=1.4.36,<2; python_version < '3.13'",
8178
"flask-wtf>=1.1.0; python_version < '3.13'",
8279
"connexion[flask]>=2.14.2,<3.0; python_version < '3.13'",
8380
"jmespath>=0.7.0; python_version < '3.13'",

0 commit comments

Comments
 (0)