jens-scheffler-bosch commented on issue #34688:
URL: https://github.com/apache/airflow/issues/34688#issuecomment-1743787645

   Okay, I did another regression with the DAG you responded. In deed it seems 
in you run your external python env with only `apache-airflow==2.7.1` then 
importing fails in a circular dependency. Which not fails if you set up the 
python env with `apache-airflow[postgres]==2.7.1`.
   
   Is there a reason that you are not installing the postgres provider if you 
want to call the `PostgresHook`?
   
   Probably finding the root of the circular import is a bit complex to trace 
down but installing the required postgres dependency seems to be a good 
workaround.


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