potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle 
Executors class to avoid cyclic imports
URL: https://github.com/apache/airflow/pull/6596#discussion_r347164105
 
 

 ##########
 File path: airflow/executors/dask_executor.py
 ##########
 @@ -44,6 +42,7 @@ def __init__(self, cluster_address=None):
         super().__init__(parallelism=0)
 
     def start(self):
+        import distributed
 
 Review comment:
   What do you mean? The 'distributed' package is added as dependency when 
'dask' is installed. It is not installed even when "All" is configured. I'd 
love to get rid of dask executor - I think no-one uses it any more but this is 
a process that requires voting and community to agree. Right now I try to get 
rid of cyclic import problems and not get rid of dask executor.
   
   Do you have a suggestion what else can we do now?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to