This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-7-test by this push:
new e571741629 Limit celery by excluding 5.3.2 and 5.3.3 (#34031)
e571741629 is described below
commit e571741629f80dba9a7b2ae2a0b5c3016a971fdd
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Sep 2 15:19:21 2023 +0200
Limit celery by excluding 5.3.2 and 5.3.3 (#34031)
There is a new database field introduced by Celery in 5.3.2 and
repeated in 5.3.3 wihch is not included in automated migrations,
so users upgrading celery might have failing celery installation.
The issue is already reported and acknowledged, so it is lilely
to be fixed in 5.3.4 - so excluding 5.3.2 and 5.3.4 is the best
approach.
(cherry picked from commit b6318ffabce8cc3fdb02c30842726476b7e1fcca)
---
airflow/providers/celery/provider.yaml | 3 ++-
generated/provider_dependencies.json | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/celery/provider.yaml
b/airflow/providers/celery/provider.yaml
index cecb52f933..0841820ffa 100644
--- a/airflow/providers/celery/provider.yaml
+++ b/airflow/providers/celery/provider.yaml
@@ -43,7 +43,8 @@ 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).
# Make sure that the limit here is synchronized with [celery] extra in the
airflow core
- - celery>=5.3.0,<6
+ # The 5.3.3/5.3.2 limit comes from
https://github.com/celery/celery/issues/8470
+ - celery>=5.3.0,<6,!=5.3.3,!=5.3.2
- flower>=1.0.0
integrations:
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 5ef199bf9b..616827e661 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -238,7 +238,7 @@
"celery": {
"deps": [
"apache-airflow>=2.4.0",
- "celery>=5.3.0,<6",
+ "celery>=5.3.0,<6,!=5.3.3,!=5.3.2",
"flower>=1.0.0"
],
"cross-providers-deps": [