Skip to content

Commit 44e0de1

Browse files
authored
Get py_binary() from @rules_python (#232)
In the future the Python rules will be removed from Bazel itself.
1 parent 8f102a3 commit 44e0de1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module(
66
bazel_dep(name = "bazel_skylib", version = "1.7.1")
77
bazel_dep(name = "jsonnet", version = "0.20.0")
88
bazel_dep(name = "jsonnet_go", version = "0.20.0")
9+
bazel_dep(name = "rules_python", version = "1.2.0")
910
bazel_dep(name = "rules_rust", version = "0.54.1")
1011

1112
jsonnet = use_extension("//jsonnet:extensions.bzl", "jsonnet")

jsonnet/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load(":toolchain.bzl", "jsonnet_toolchain")
2+
load("@rules_python//python:py_binary.bzl", "py_binary")
23
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
34

45
exports_files(["docs.bzl", "jsonnet.bzl", "toolchain.bzl"])

0 commit comments

Comments
 (0)