dheerajturaga commented on issue #58792:
URL: https://github.com/apache/airflow/issues/58792#issuecomment-3589814424

   @jscheffl I have tested my changes to edge3 and git providers and they look 
good. 
   
   However -1 on the celery provider. I am seeing the following error when I 
run `airflow celery -h` after installing celery 3.14.0rc1 with breeze . 
   
   Steps to reproduce:
   ```
   breeze start-airflow --executor CeleryExecutor --use-airflow-version 3.1.3 
--airflow-extras celery -d -e
   # In tmux
   pip install apache-airflow-providers-celery==3.14.0rc1
   airflow celery -h  
   ```
   
   
   cc: @ephraimbuddy 
   
   ```
   root@611c50c2c687:/opt/airflow# airflow celery -h
   2025-11-28T15:59:54.830841Z [error    ] Failed to load CLI commands from 
executor: :CeleryExecutor: [airflow.cli.cli_parser] loc=cli_parser.py:68
   Traceback (most recent call last):
     File "/usr/python/lib/python3.10/site-packages/airflow/cli/cli_parser.py", 
line 65, in <module>
       executor, _ = ExecutorLoader.import_executor_cls(executor_name)
     File 
"/usr/python/lib/python3.10/site-packages/airflow/executors/executor_loader.py",
 line 301, in import_executor_cls
       return import_string(executor_name.module_path), 
executor_name.connector_source
     File 
"/usr/python/lib/python3.10/site-packages/airflow/utils/module_loading.py", 
line 41, in import_string
       module = import_module(module_path)
     File "/usr/python/lib/python3.10/importlib/__init__.py", line 126, in 
import_module
       return _bootstrap._gcd_import(name[level:], package, level)
     File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
     File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 883, in exec_module
     File "<frozen importlib._bootstrap>", line 241, in 
_call_with_frames_removed
     File 
"/usr/python/lib/python3.10/site-packages/airflow/providers/celery/executors/celery_executor.py",
 line 57, in <module>
       from airflow.providers.common.compat.sdk import AirflowTaskTimeout
   ImportError: cannot import name 'AirflowTaskTimeout' from 
'airflow.providers.common.compat.sdk' 
(/usr/python/lib/python3.10/site-packages/airflow/providers/common/compat/sdk.py)
   2025-11-28T15:59:54.833626Z [error    ] Ensure all dependencies are met and 
try again. If using a Celery based executor install a 3.3.0+ version of the 
Celery provider. If using a Kubernetes executor, install a 7.4.0+ version of 
the CNCF provider [airflow.cli.cli_parser] loc=cli_parser.py:69
   ```


-- 
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]

Reply via email to