potiuk commented on pull request #18739: URL: https://github.com/apache/airflow/pull/18739#issuecomment-936318477
> Hi @potiuk , this failure seems related to DockerDecorator not usable in airflow versions less than 2.2. It is failing at `import_all_provider_classes` on airflow 2.1 for install from `wheel` but passing for `sdist` Yep. This is precisely what is expected. The problem is that we try if "ALL" provider code imports nicely for 2.1 without errors - including the examples. In this case we've made a deliberate decision to move the example to "docker" provider, even if it will not work for 2.1. This is fine, so the solution is to try/except the example to get example_dag import without the exception. -- 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]
