potiuk commented on PR #36794:
URL: https://github.com/apache/airflow/pull/36794#issuecomment-1921511093

   > @potiuk can you tell me why its failing to import module from airflow, 
core modules should be available to providers right
   > 
   > ` from airflow.cli.commands.daemon_utils import 
run_command_with_daemon_option` `ModuleNotFoundError: No module named 
'airflow.cli.commands.daemon_utils'`
   
   It's failing in compatibility check. When you install the provider in 
Airflow 2.6 or 2.7, the module is not there because it has been added later. 
That's whe we have those compatibility checks - they install the provider in 
Airflow 2.6 and 2.7 and attempt to import all classes (and fail).
   
   You need make sure to handle back-compatibility here. Likely you should 
in-line this method with a comment that it should be removed when 
min_airflow_version is 2.8.0 we have few other cases like that in various 
providers.


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