We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
python_path
1 parent aed97f6 commit 8dcd6c9Copy full SHA for 8dcd6c9
python/private/py_executable.bzl
@@ -1144,7 +1144,7 @@ def _get_runtime_details(ctx, semantics):
1144
1145
flag_interpreter_path = read_possibly_native_flag(ctx, "python_path")
1146
if not flag_interpreter_path.startswith("python") and not paths.is_absolute(flag_interpreter_path):
1147
- fail("python_path must be an absolute path when it is set.")
+ fail("'python_path' must be an absolute path or a name to be resolved from the system PATH (e.g., 'python', 'python3').")
1148
1149
toolchain_runtime, effective_runtime = _maybe_get_runtime_from_ctx(ctx)
1150
if not effective_runtime:
0 commit comments