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 3bf0ed824f3 Upper-bind FastAPI until Cadwyn is adapted to FastAPI 
0.126.0+ (#59726)
3bf0ed824f3 is described below

commit 3bf0ed824f390f994146e01be703484835dd47f1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Dec 22 20:32:36 2025 +0100

    Upper-bind FastAPI until Cadwyn is adapted to FastAPI 0.126.0+ (#59726)
    
    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
---
 airflow-core/pyproject.toml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index a00f5c7967d..3cf114af0bf 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -85,9 +85,12 @@ dependencies = [
     "cryptography>=41.0.0,<46.0.0",
     "deprecated>=1.2.13",
     "dill>=0.2.2",
-    # limited due to changes needed 
https://github.com/fastapi/fastapi/pull/14434
-    # and the bug in fastapi 0.126.0 
https://github.com/fastapi/fastapi/pull/14575#issuecomment-3678581316
-    "fastapi[standard-no-fastapi-cloud-cli]>=0.121.0, !=0.123.5, !=0.126.0, 
!=0.127.0",
+    # 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",
     "uvicorn>=0.37.0",
     "starlette>=0.45.0",
     "httpx>=0.25.0",

Reply via email to