This is an automated email from the ASF dual-hosted git repository.
kaxilnaik 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 6990f2cfbc3 Upper bound limit starlette < 1.0.0 (#64115)
6990f2cfbc3 is described below
commit 6990f2cfbc3b0847e8ed20c84f557e06180e2830
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Mon Mar 23 19:57:52 2026 +0100
Upper bound limit starlette < 1.0.0 (#64115)
---
airflow-core/pyproject.toml | 4 +++-
uv.lock | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index 09e807fad86..341af8f0e7d 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -96,7 +96,9 @@ dependencies = [
"dill>=0.2.2",
"fastapi[standard-no-fastapi-cloud-cli]>=0.129.0",
"uvicorn>=0.37.0",
- "starlette>=0.45.0",
+ # Starlette 1.0.0 breaks the API server. Needs more investigation
+ # https://github.com/apache/airflow/issues/64116
+ "starlette>=0.45.0,<1",
"httpx>=0.25.0",
'importlib_metadata>=6.5;python_version<"3.12"',
'importlib_metadata>=7.0;python_version>="3.12"',
diff --git a/uv.lock b/uv.lock
index 5a6bdcca74c..0d75a8127c2 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1867,7 +1867,7 @@ requires-dist = [
{ name = "rich-argparse", specifier = ">=1.0.0" },
{ name = "setproctitle", specifier = ">=1.3.3" },
{ name = "sqlalchemy", extras = ["asyncio"], specifier = ">=2.0.48" },
- { name = "starlette", specifier = ">=0.45.0" },
+ { name = "starlette", specifier = ">=0.45.0,<1" },
{ name = "statsd", marker = "extra == 'statsd'", specifier = ">=3.3.0" },
{ name = "structlog", specifier = ">=25.4.0" },
{ name = "svcs", specifier = ">=25.1.0" },