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 c038fb11007 Make Airflow compatible with fastapi >= 0.127.0 (#59806)
c038fb11007 is described below
commit c038fb1100790cb4bbb9351415fecfda0a5f0d78
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Dec 25 23:16:59 2025 +0100
Make Airflow compatible with fastapi >= 0.127.0 (#59806)
Cadwyn 5.6.2 implemented compatibility with FastAPI 0.127.0 after
Pydantic v1 compatibility has been removed, together with Pydantic
model serialization issues with Cadwyn pre-5.6.2.
---
airflow-core/pyproject.toml | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index a0ff1a2466b..0582a7f61d4 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -77,7 +77,7 @@ dependencies = [
"argcomplete>=1.10",
"asgiref>=2.3.0",
"attrs>=22.1.0, !=25.2.0",
- "cadwyn>=5.6.1",
+ "cadwyn>=5.6.2",
"colorlog>=6.8.2",
"cron-descriptor>=1.2.24",
"croniter>=2.0.2",
@@ -85,12 +85,7 @@ dependencies = [
"cryptography>=41.0.0,<46.0.0",
"deprecated>=1.2.13",
"dill>=0.2.2",
- # Limited due to backwards incompatible (but deliberate) changes in
FastAPI 0.126.0
- # which break Cadwyn way of copying classes and break serialization. As
explained
- # in
https://github.com/fastapi/fastapi/pull/14582#issuecomment-3682792249, Cadwyn
- # needs to adapt to those changes and we cannot move to newer version of
FastAPI
- # This is tracked in Cadwyn in https://github.com/zmievsa/cadwyn/issues/314
- "fastapi[standard-no-fastapi-cloud-cli]>=0.121.0, <0.126.0",
+ "fastapi[standard-no-fastapi-cloud-cli]>=0.127.0",
"uvicorn>=0.37.0",
"starlette>=0.45.0",
"httpx>=0.25.0",