potiuk commented on issue #61766:
URL: https://github.com/apache/airflow/issues/61766#issuecomment-3902002494

   @shahar1 @vincbeck @o-nikolas  -> just a small warning. Seems that celery 
provider caused problems when I run tests for 2.11.1
   
   ```python
   Traceback (most recent call last):
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job_runner.py",
 line 1008, in _execute
         self._run_scheduler_loop()
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job_runner.py",
 line 1153, in _run_scheduler_loop
         executor.heartbeat()
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/traces/tracer.py", 
line 58, in wrapper
         return func(*args, **kwargs)
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/executors/base_executor.py",
 line 244, in heartbeat
         self.trigger_tasks(open_slots)
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/traces/tracer.py", 
line 58, in wrapper
         return func(*args, **kwargs)
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/executors/base_executor.py",
 line 383, in trigger_tasks
         self._process_tasks(task_tuples)
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/providers/celery/executors/celery_executor.py",
 line 150, in _process_tasks
         task_tuples_to_send = [task_tuple[:3] + (self.team_name,) for 
task_tuple in task_tuples]
       File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/providers/celery/executors/celery_executor.py",
 line 150, in <listcomp>
         task_tuples_to_send = [task_tuple[:3] + (self.team_name,) for 
task_tuple in task_tuples]
     AttributeError: 'CeleryExecutor' object has no attribute 'team_name'
   ```
   
   See 
https://github.com/apache/airflow/actions/runs/22018420629/job/63624588757?pr=61909
 - this one contains the latest celary provider released and it might need some 
follow-up release. 
   
   I do not think we need to something **quick** for it, I will exclude 3.16.0 
celery provider from airflow 2.11.1 build but we will have to fix it for 2.11 
compatibility. Probably we did not have enough unit tests to cover it - only 
Docker compose tests in 2.11.1 detected it.


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