Skip to content

Commit 880ffac

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bazel/pypi_repos.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ should be installed later in WORKSPACE file to be accessible.
44
generated by the `bazel run :requirements.update` command."""
55

66
load("@rules_python//python:pip.bzl", "pip_parse")
7+
load("@python3_10_12//:defs.bzl", "interpreter")
78

89
def pypi_repos():
910
pip_parse(
1011
name = "pyprotoc_plugin_pypi",
11-
python_interpreter_target = "@python3_10_12_host//:python",
12+
python_interpreter_target = interpreter,
1213
requirements_lock = "@com_github_reboot_dev_pyprotoc_plugin//:requirements_lock.txt",
1314
)

0 commit comments

Comments
 (0)