Hello folks! I am trying to adopt Pants to a mono...
# general
i
Hello folks! I am trying to adopt Pants to a monorepo at work, we currently use poetry to manage third party dependencies. I know there is support for interpreting the poetry data in
pyproject.toml
file by having the
poetry_requirements
in the BUILD file. But what I am failing to understand is how that translates to actually having those dependencies installed. I am probably missing something silly, but would appreciate being pointed in the right direction. 🙂
b
It depends on what context you want the dependencies installed in - if you want to create a virtualenv with all the requirements, you can use the `export` command to make it. For things like tests, Pants (and the PEX library underneath) can pick the right subset of your requirements needed to run the specific tests that you’re trying to run.