Skip to content

Commit 521a7a7

Browse files
committed
Declare PYTHONPATH in local_python_configure environs to propagate pip PEP 517 venv to Bazel repository rules
1 parent 54a7b48 commit 521a7a7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

third_party/python_configure.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ _ENVIRONS = [
476476
BAZEL_SH,
477477
PYTHON_BIN_PATH,
478478
PYTHON_LIB_PATH,
479+
"PYTHONPATH",
479480
]
480481

481482
local_python_configure = repository_rule(

0 commit comments

Comments
 (0)