File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
examples/pip_parse_vendored Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -229,13 +229,11 @@ python_register_toolchains(
229229 python_version = " 3.11" ,
230230)
231231
232- load(" @python_3_11//:defs.bzl" , " interpreter" )
233-
234232load(" @rules_python//python:pip.bzl" , " pip_parse" )
235233
236234pip_parse(
237235 ...
238- python_interpreter_target = interpreter ,
236+ python_interpreter_target = " @python_3_11_host//:python " ,
239237 ...
240238)
241239```
Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ python_register_toolchains(
2020 name = " python39" ,
2121 python_version = " 3.9" ,
2222)
23- load(" @python39//:defs.bzl" , " interpreter" )
2423
2524# Load dependencies vendored by some other ruleset.
2625load(" @some_rules//:py_deps.bzl" , " install_deps" )
2726
2827install_deps(
29- python_interpreter_target = interpreter ,
28+ python_interpreter_target = " @python39_host//:python " ,
3029)
3130```
You can’t perform that action at this time.
0 commit comments