XD-DENG opened a new issue, #51663: URL: https://github.com/apache/airflow/issues/51663
### Apache Airflow version 3.0.2 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? I'm testing to use `CeleryKubernetesExecutor` in Airflow 3, but it fails with error ``` TypeError: CeleryKubernetesExecutor.__init__() missing 2 required positional arguments: 'celery_executor' and 'kubernetes_executor' ``` After checking in details, I realize Airflow 3 has dropped the support towards `CeleryKubernetesExecutor` (and `LocalKubernetesExecutor`): In airflow 2.11, we have code below to help us load `CeleryKubernetesExecutor` and `LocalKubernetesExecutor`. https://github.com/apache/airflow/blob/2.11.0/airflow/executors/executor_loader.py#L347-L361 But in Airflow 3, there is no such code, resulting in the error I encountered. I can help fix this. But I would like to confirm first, if this dropping was by purpose? (I don't think so as I don't see any deprecation note in the Celery Provider doc) ### What you think should happen instead? _No response_ ### How to reproduce Configure to use `CeleryKubernetesExecutor` and try to start scheduler ### Operating System Linux ### Versions of Apache Airflow Providers ``` apache-airflow-providers-celery==3.11.0 apache-airflow-providers-cncf-kubernetes==10.5.0 apache-airflow-providers-common-compat==1.6.1 apache-airflow-providers-common-io==1.5.4 apache-airflow-providers-common-sql==1.27.0 apache-airflow-providers-postgres==6.1.3 apache-airflow-providers-redis==4.1.0 apache-airflow-providers-smtp==2.0.3 apache-airflow-providers-standard==1.1.0 ``` ### Deployment Other ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
