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 04804334693 Limit Celery to not include 5.5.2 (#49940)
04804334693 is described below
commit 04804334693c83cb50e47003b100474d975620fc
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Apr 29 13:15:25 2025 +0200
Limit Celery to not include 5.5.2 (#49940)
The Latest boto and celery integration tests started to randomly
hang or fail recently and one of the suspects is Celery 5.5.2
This is tracked in https://github.com/apache/airflow/issues/49937
---
providers/celery/pyproject.toml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/providers/celery/pyproject.toml b/providers/celery/pyproject.toml
index 0f30bdc8876..285c5c62f74 100644
--- a/providers/celery/pyproject.toml
+++ b/providers/celery/pyproject.toml
@@ -62,7 +62,10 @@ dependencies = [
# Uses Celery for CeleryExecutor, and we also know that Kubernetes Python
client follows SemVer
#
(https://docs.celeryq.dev/en/stable/contributing.html?highlight=semver#versions).
# Updating min version to 5.5.0 to avoid redis import bug
https://github.com/apache/airflow/issues/41359
- "celery[redis]>=5.5.0,<6",
+ # The 5.5.2 version released 25 April 2025 introduced some stability
issues that cause our
+ # integration tests to fail occasionally and latest boto tests hanging
frequently
+ # tracked in https://github.com/apache/airflow/issues/49937
+ "celery[redis]>=5.5.0,<6,!=5.5.2",
"flower>=1.0.0",
]