Skip to content

Commit d6b3a4d

Browse files
committed
Also fix how the Python interpreter is loaded
1 parent 31a4250 commit d6b3a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bazel/pypi_repos.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ generated by the `bazel run :requirements.update` command."""
55

66
load("@rules_python//python:pip.bzl", "pip_parse")
77

8-
def pypi_repos():
8+
def pypi_repos(python_interpreter_target = "@python3_10_12_host//:python"):
99
pip_parse(
1010
name = "pyprotoc_plugin_pypi",
11-
python_interpreter_target = "@python3_10_12_host//:python",
11+
python_interpreter_target = python_interpreter_target,
1212
requirements_lock = "@com_github_reboot_dev_pyprotoc_plugin//:requirements_lock.txt",
1313
)

0 commit comments

Comments
 (0)