Skip to content

Commit

Permalink
migrate away from using the interpreter const
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Nov 14, 2024
1 parent 87eea07 commit c5b8b16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ load("@rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps
_py_gazelle_deps()

# This interpreter is used for various rules_python dev-time tools
load("@python//3.11.9:defs.bzl", "interpreter")
interpreter = "@python_3_11_9_host//:python"

#####################
# Install twine for our own runfiles wheel publishing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ python_register_toolchains(
python_version = "3.9",
)

load("@python39//:defs.bzl", "interpreter")
load("@rules_python//python:pip.bzl", "pip_parse")

local_repository(
Expand All @@ -22,7 +21,7 @@ local_repository(

pip_parse(
name = "pypi",
python_interpreter_target = interpreter,
python_interpreter_target = "@python39_host//:python",
requirements_lock = "@compile_pip_requirements//:requirements_lock.txt",
)

Expand Down

0 comments on commit c5b8b16

Please sign in to comment.