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 bd5e036a04e Limit fast-api to not include 0.126.0 version (#59681)
bd5e036a04e is described below

commit bd5e036a04e70482c33eea954291bf73089a4206
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Dec 21 09:26:56 2025 +0100

    Limit fast-api to not include 0.126.0 version (#59681)
    
    The 0.126.0 dropped Pydantic v1 but also likely introduced a bug
    on how Pydantic models get serialized. The comment about it:
    https://github.com/fastapi/fastapi/pull/14575#issuecomment-3678581316
    
    We limit fast-api to exclude that version, hoping that 0.126.1 will
    fix it.
---
 airflow-core/pyproject.toml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index a4a4147c6d1..21388767b10 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -86,7 +86,8 @@ dependencies = [
     "deprecated>=1.2.13",
     "dill>=0.2.2",
     # limited due to changes needed 
https://github.com/fastapi/fastapi/pull/14434
-    "fastapi[standard-no-fastapi-cloud-cli]>=0.121.0, !=0.123.5",
+    # 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",
     "uvicorn>=0.37.0",
     "starlette>=0.45.0",
     "httpx>=0.25.0",

Reply via email to