You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/01 02:13:31 UTC
[GitHub] [airflow] parayaluyanta edited a comment on issue #11301: Celery 5.0
parayaluyanta edited a comment on issue #11301:
URL: https://github.com/apache/airflow/issues/11301#issuecomment-735027302
celery `5.0.2 (singularity)` did not work for me as well with airflow `1.10.9`.
```bash
tail -f /var/log/airflow/airflow-worker-stderr---supervisor-josn515o.log
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/bin/cli.py", line 1395, in worker
worker = worker.worker(app=celery_app)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 781, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 698, in make_context
ctx = Context(self, info_name=info_name, parent=parent, **extra)
TypeError: __init__() got an unexpected keyword argument 'app'
```
Downgrading to `4.4.7` did.
```bash
apache-airflow==1.10.9
celery==4.4.7
celery[rabbitmq]==4.4.7
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org