airflow: 3.10.3 apache-airflow-providers-celery release is broken
Apache Airflow version
2.10.5
If “Other Airflow 2 version” selected, which one?
No response
What happened?
Version: 3.10.3 release of apache-airflow-providers-celery (released March 13) doesn’t work at all with Airflow version 2.10.5 (and 2.10.4). ALL of the tasks instantly fails.
The exception is:execute_command() takes 1 positional argument but 9 were given inside Airflow Scheduler
What you think should happen instead?
Celery Executor shouldn’t fail
How to reproduce
Running literally any task while using CeleryExecutor
Operating System
Debian 12 bookworm
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 19 (12 by maintainers)
Commits related to this issue
- Fix Celery Executor on Airflow 2.x again. Prior to 984c61d28 this code looked like: ```python result = task_to_run.apply_async(args=[command], queue=queue) ``` Closes #47781 — committed to astronomer/airflow by ashb 2 years ago
- Fix Celery Executor on Airflow 2.x again. (#48806) Prior to 984c61d28 this code looked like: ```python result = task_to_run.apply_async(args=[command], queue=queue) ``` Closes #47781 — committed to apache/airflow by ashb 2 years ago
- Fix Celery Executor on Airflow 2.x again. (#48806) Prior to 984c61d28 this code looked like: ```python result = task_to_run.apply_async(args=[command], queue=queue) ``` Closes #47781 — committed to nailo2c/airflow by ashb 2 years ago
- Fix Celery Executor on Airflow 2.x again. (#48806) Prior to 984c61d28 this code looked like: ```python result = task_to_run.apply_async(args=[command], queue=queue) ``` Closes #47781 — committed to diogotrodrigues/airflow by ashb 2 years ago
- Fix Celery Executor on Airflow 2.x again. (#48806) Prior to 984c61d28 this code looked like: ```python result = task_to_run.apply_async(args=[command], queue=queue) ``` Closes #47781 — committed to simonprydden/airflow by ashb 2 years ago
- airflow: pin apache-airflow-providers-celery to 3.10.0 (#50678) 3.10.3 introduced a regression via https://github.com/apache/airflow/issues/47781 so we need to pin apache-airflow-providers-celery to ... — committed to wolfi-dev/os by kranurag7 2 years ago
downgraded apache-airflow-providers-celery
pip install apache-airflow-providers-celery==3.10.0I will do it after moving airflow-core.
Same here. this is even more annoying as we have to stick to CeleryKubernetesExecutor, because the helm chart 1.16 which is ready for some time and supports multiple executors still isn’t being released