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 3ba994d8f4 Limit Redis dependencies to match celery limits (#33773)
3ba994d8f4 is described below
commit 3ba994d8f4c4b5ce3828bebcff28bbfc25170004
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Aug 26 18:02:08 2023 +0200
Limit Redis dependencies to match celery limits (#33773)
Redis 5 relased last week breaks celery, celery is limiting it for
now and will resolve it later, we should similarly limit redis on
our side to limit redis for users who will not upgrade to celery
that will be released shortly.
Fixes: #33744
---
airflow/providers/redis/provider.yaml | 6 +++++-
generated/provider_dependencies.json | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/redis/provider.yaml
b/airflow/providers/redis/provider.yaml
index cb2c85d3c8..01bc208b9f 100644
--- a/airflow/providers/redis/provider.yaml
+++ b/airflow/providers/redis/provider.yaml
@@ -39,7 +39,11 @@ versions:
dependencies:
- apache-airflow>=2.4.0
- - redis>=3.2.0
+ # We limit redis to <5.0.0 because of incompatibility with celery. Both
Celery and Kombu limited it
+ # and deferred fixing it for later, we should bump the limit once they do.
Also !=4.5.5 matches celery
+ # limits and prevents installing 4.5.5 which is broken.
+ # https://github.com/celery/celery/pull/8442,
https://github.com/celery/kombu/pull/1776
+ - redis>=4.5.2,<5.0.0,!=4.5.5
integrations:
- integration-name: Redis
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index b0dcab34c1..bfe118e289 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -754,7 +754,7 @@
"redis": {
"deps": [
"apache-airflow>=2.4.0",
- "redis>=3.2.0"
+ "redis>=4.5.2,<5.0.0,!=4.5.5"
],
"cross-providers-deps": [],
"excluded-python-versions": []