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


   > I think in your use case the whole requirement file is in fact not a 
requirement.txt but a value pushed to xcom by previous task.
   
   No. I am talking about "requirement.txt" file in which some values might be 
provided by XCom.
   
   I can imagine this kind of requirement.txt file for example:
   
   ```
   dependency1==1.0.0
   dependency2==2.0.0
   dependency3=={{ code to retrieve depedency version from xcom}}
   dependency4==1.1.0
   {{- % if retrireve deployment == 'production'  % }}
   # only needed in production deployment
   dependency5==5.0.0
   {{- % endif % }}
   ```
   
   


-- 
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:
[email protected]


Reply via email to