You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/01/22 15:49:46 UTC

[airflow] 33/33: Update Celery requirements

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 6f12ab997337dc586493b23a7ff6e72bdb010a14
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Jan 22 13:55:01 2022 +0100

    Update Celery requirements
    
    Celery 5.2.3 is Python 3.6 only and Airflow 2.2.* line is still
    Python 3.6 compatible, so we have to add a condition for Python
    3.6 and Celery.
---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index b158aad..1f82d4d 100644
--- a/setup.py
+++ b/setup.py
@@ -227,7 +227,8 @@ cassandra = [
     'cassandra-driver>=3.13.0,<4',
 ]
 celery = [
-    'celery>=5.2.3',
+    'celery~=5.1,>=5.1.2;python_version<"3.7"',
+    'celery>=5.2.3;python_version>="3.7"',
     'flower~=1.0.0',
 ]
 cgroups = [