potiuk commented on PR #31379: URL: https://github.com/apache/airflow/pull/31379#issuecomment-1553009654
I've added a fix to prevent similar cases in the tuture: https://github.com/apache/airflow/pull/31385 - it should fail "now" but after your fix is applied @Lee-W - it should get green. If we do not have a My proposal is : to make two variants of the ``__init__``: for regular (most) providers: ``` try: airflow_version = airflow.__version__ except ImportError: pass except AttributeError: pass ``` For preinstalled ones: ``` PREINSTALLED_PROVIDERS = [ "common.sql", "ftp", "http", "imap", "sqlite", ] ``` we do the importlib check. WDYT? -- 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]
