ephraimbuddy commented on PR #33652: URL: https://github.com/apache/airflow/pull/33652#issuecomment-1691291761
> I think it's difficult to prevent - or detect upfront. This was fairly specific to having sentry integration enabled. The only way I can think of is to run our "test migration" job in CI to run will all possible options (like sentry) enabled. All options that can potentially follow different "flow" of imports. > > Unfortunately the way how our configuration/imporrs are done does not make it easy to avoid/detect. I was thinking that the import should work given that we implemented a lazy import for AirflowException so that if it's import directly it works as seen here https://github.com/apache/airflow/blob/2ae1c10bfa59d1b2b5d8d453cd64d9858cb18c0b/airflow/__init__.py#L79-L86, same way we import DAG directly. -- 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]
