You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See bazelbuild/continuous-integration#578 for context. The gist of it is that when PATH is not set (as happens when a binary using this toolchain is used as a tool from Starlark), the shell comes up with its own PATH to run the pywrapper script. However, it does not necessarily export this PATH, causing "which" to misbehave and fail to locate a Python interpreter.
The fix is to add "export PATH" and a regression test.
Fixesbazelbuild/continuous-integration#578, work toward bazelbuild#7899.
RELNOTES: None
PiperOrigin-RevId: 249263849
0 commit comments