You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/06 14:19:15 UTC

[GitHub] [airflow] potiuk edited a comment on pull request #18739: Move docker decorator example dag to docker provider

potiuk edited a comment 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 (with appropriate comment).
   
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org