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/12/30 07:41:54 UTC

[GitHub] [airflow] ashb edited a comment on issue #13364: Add virtual env creation in Celery workers

ashb edited a comment on issue #13364:
URL: https://github.com/apache/airflow/issues/13364#issuecomment-752360736


   My first "off the cuff" thought is that this would be something that lives outside Airflow, and it's just the context you run the celery workers in.
   
   The venv task runner idea does sound like a good way of tackling this of we do want to include it - but it would be slow. On reading the issue subject my first thought was:
   
   - create a venv before hand
   - run `airflow celery worker -q myvenv`
   - use the `queue` task attribute to run the task in the right place.
   
   It depends how many venvs you wanted I guess


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