cool-easter-32542
03/25/2025, 7:36 AM[pex]
executable_search_paths = [
"<PYENV>",
]
# <https://www.pantsbuild.org/stable/reference/subsystems/python-bootstrap#search_path>
[python-bootstrap]
search_path = [
"<PYENV>",
]
# <https://www.pantsbuild.org/stable/reference/subsystems/subprocess-environment#env_vars>
[subprocess-environment]
env_vars.remove = [
"LANG",
"LC_CTYPE",
"LC_ALL",
]
The first two options above work with empty arrays as well for normal lint check etc. commands, but pants package on a pex_binary target fails to resolve a python (#21048) so using fixed list instead to circumvent that.
The locale ENV variables turned out to be another problem that depending on the locale ENVs set in your terminal, you can still miss reusing cache since those are propagated automatically.
pantsbuild/pants