rhythmic-butcher-20315
01/05/2024, 8:10 PM-r requirements.txt inside another requirements.txt file to combine subset of requirements using pants? I tried, but differently from what happens using pip, it only installed dependencies from the "child" requirements.txt file and it ignored everything that should be imported from the "root" file.rhythmic-butcher-20315
01/05/2024, 10:00 PMpython_requirements and python_requirement docs, hehe.
If you have a small set of dependencies and want to build a few resolves with some additions and create venvs from them, just this doc: https://www.pantsbuild.org/docs/reference-python_requirement
You can set a target as a dependency and add your new dependencies to create a new resolve. It's pretty cool! 🙂curved-television-6568
01/09/2024, 7:09 AMrequirements.txt files, you can simply have multiple python_requirements targets (one for each file) using the same resolve for them.