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 2020/05/05 11:51:31 UTC

[GitHub] [airflow] mfumagalli68 edited a comment on issue #8716: Support on packaged dags

mfumagalli68 edited a comment on issue #8716:
URL: https://github.com/apache/airflow/issues/8716#issuecomment-624008547


   Ok so what's the best practice for dealing dependency problems?
   
   What I've seen so far:
   
   - `PythonVirtualEnvOperator`. Problem: create and destory virtualenv on the fly. Not feasible for a project with lots of dependencies.
   - Use `BashOperator`: write a shell which execute a python script with virtualenv interpreter. Seems a workaround. 
   Morover I cannot pass complex kwargs to the operator.  For example `params={'A':{'B':[1,2,3]}}` won't work. 
   - `DockerOperator`: Is this the only option we have?


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

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