From 1b9fcee0065edcfe6f20802dea73bce32535cdcf Mon Sep 17 00:00:00 2001 From: Jonathon Belotti Date: Thu, 21 Jan 2021 23:51:31 +1100 Subject: [PATCH] remove inaccuracy in README about default py interpreter used by pip_install --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b139a64608..a2592f4f3c 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,7 @@ pip_install( Note that since pip is executed at WORKSPACE-evaluation time, Bazel has no information about the Python toolchain and cannot enforce that the interpreter used to invoke pip matches the interpreter used to run `py_binary` targets. By -default, `pip_install` uses the system command `"python"`, which on most -platforms is a Python 2 interpreter. This can be overridden by passing the +default, `pip_install` uses the system command `"python3"`. This can be overridden by passing the `python_interpreter` attribute or `python_interpreter_target` attribute to `pip_install`. You can have multiple `pip_install`s in the same workspace, e.g. for Python 2