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/05/25 10:11:00 UTC

[GitHub] [airflow] uranusjr commented on issue #16037: allow using requirments.txt in PythonVirtualEnvOperator

uranusjr commented on issue #16037:
URL: https://github.com/apache/airflow/issues/16037#issuecomment-847739889


   The requirements file format supports some things that can’t be passed into the command line, so the open-readline approach can only partially solve the issue. Making things worse, the file format is internal to pip, so there’s no way for the user to parse it on their own, the file must be passed into pip. So some way to support this would be nice. (I think I read another issue on this before…?)
   
   I believe `requirements=["-r", "requireements.txt]` will work. Pretty hacky though.


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