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 76679f66610 Cap ``gunicorn`` below 25.1.0 to avoid API server startup
deadlocks (#62524)
76679f66610 is described below
commit 76679f66610f0d640e2cf6a1ae8ad708542286a2
Author: Kaxil Naik <[email protected]>
AuthorDate: Thu Feb 26 16:48:05 2026 +0000
Cap ``gunicorn`` below 25.1.0 to avoid API server startup deadlocks (#62524)
Pin the gunicorn extra to <25.1.0 to avoid the known 25.1.0 control-socket
deadlock in the Airflow API server path, and add links to upstream tracking for
follow-up.
---
airflow-core/pyproject.toml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index a38fad1a926..aaaf859cd0c 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -188,7 +188,12 @@ dependencies = [
"memray>=1.19.0",
]
"gunicorn" = [
- "gunicorn>=23.0.0",
+ # Temporary upper bound due to Gunicorn 25.1.0 control-socket deadlock
+ # seen in the Airflow API server path (preload + fork).
+ # Upstream tracking:
+ # - https://github.com/benoitc/gunicorn/issues/3529
+ # - https://github.com/benoitc/gunicorn/pull/3520
+ "gunicorn>=23.0.0,<25.1.0",
]
"otel" = [
"opentelemetry-exporter-prometheus>=0.47b0",