Hello! Can I set `PANTS_PYTHON_INFER_UNOWNED_DEPE...
# general
k
Hello! Can I set
PANTS_PYTHON_INFER_UNOWNED_DEPENDENCY_BEHAVIOR
for a specific tree? Say I want everything under folderA/ to have the behaviour set to 'error' ?
Or even better, for a target. Say I wanted to enable
PANTS_PYTHON_INFER_UNOWNED_DEPENDENCY_BEHAVIOR=error
when building a specific pex.
For now, I do this by exposing the environment variable whenever I build that specific PEX, but it would be great if I could set this setting somewhere in a file.
h
There is no such way, no
You could set this via flag, and use a cli alias to shorten the invocation
k
Thanks for the response. A way to set this via config would have helped us as we are migrating to pants. Some of our dependencies are still refering to libs outside of any resolves, but everything we are building PEXes for should never point to unowned dependencies.