witty-crayon-22786
06/15/2021, 5:11 PM$ cat ~/.pants.rc
[python-setup]
# Avoid system python.
interpreter_search_paths = ["<PYENV>"]
…which works for the outer run, but which is currently (intentionally) disabled in inner/test runswitty-crayon-22786
06/15/2021, 5:11 PMhundreds-father-404
06/15/2021, 5:12 PM./pants test ::
does not work on my macwitty-crayon-22786
06/15/2021, 5:13 PMwitty-crayon-22786
06/15/2021, 5:14 PMenough-analyst-54434
06/15/2021, 5:14 PMenough-analyst-54434
06/15/2021, 5:14 PMenough-analyst-54434
06/15/2021, 5:15 PMwitty-crayon-22786
06/15/2021, 5:15 PMenough-analyst-54434
06/15/2021, 5:15 PMenough-analyst-54434
06/15/2021, 5:16 PMenough-analyst-54434
06/15/2021, 5:16 PMenough-analyst-54434
06/15/2021, 5:18 PMwitty-crayon-22786
06/15/2021, 5:19 PMenough-analyst-54434
06/15/2021, 5:19 PMwitty-crayon-22786
06/15/2021, 5:23 PMPANTS_PYTHON_SETUP_INTERPRETER_SEARCH_PATHS
here: https://github.com/pantsbuild/pants/blob/bbeffb47cc697e6e15f4cc615f24be4efc9795b8/pants.toml#L156-L166 … and then ensure that that is actually consumed in the relevant spots in tests.enough-analyst-54434
06/15/2021, 5:24 PMwitty-crayon-22786
06/15/2021, 5:24 PM~/.pants.rc
for me… would maybe set it in ~/.profile
instead.enough-analyst-54434
06/15/2021, 5:25 PMwitty-crayon-22786
06/15/2021, 5:26 PM.pants.rc
file to tests if someone puts any other setting in thereenough-analyst-54434
06/15/2021, 5:28 PMpant_run
usage and we --no-pantsrc
there. That makes sense. Env var sounds right.witty-crayon-22786
06/15/2021, 5:31 PMOptionsBootstrappers
that are created in the RuleRunner
and elsewherewitty-crayon-22786
06/15/2021, 6:14 PMhundreds-father-404
06/15/2021, 6:15 PMwitty-crayon-22786
06/15/2021, 6:24 PM