Skip to content

Commit f2dacd2

Browse files
committed
chore: update location of toolchain type, accounting for rules_python breaking change
1 parent d65c014 commit f2dacd2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

examples/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
load("@rules_go//proto:def.bzl", "go_proto_library")
22
load("@rules_proto//proto:defs.bzl", "proto_library")
3-
load("@rules_python//python:proto.bzl", "py_proto_library")
3+
load("@protobuf//bazel:py_proto_library.bzl", "py_proto_library")
44

55
package(default_visibility = ["//visibility:public"])
66

examples/MODULE.bazel

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@ bazel_dep(name = "toolchains_protoc", version = "0.0.0")
22
bazel_dep(name = "aspect_bazel_lib", version = "2.11.0")
33
bazel_dep(name = "aspect_rules_py", version = "1.3.2")
44
bazel_dep(name = "platforms", version = "0.0.11")
5+
bazel_dep(name = "protobuf", version = "29.3")
56
bazel_dep(name = "rules_java", version = "8.6.3")
67
bazel_dep(name = "rules_proto", version = "7.1.0")
78
bazel_dep(name = "rules_python", version = "1.2.0-rc0")
89
bazel_dep(name = "rules_go", version = "0.53.0")
910
bazel_dep(name = "rules_uv", version = "0.56.0")
1011

12+
# Need https://github.com/bazelbuild/rules_python/pull/2620
13+
git_override(
14+
module_name = "rules_python",
15+
commit = "e95f95f75c9078f252f5b03eca18cba12d2e2166",
16+
remote = "[email protected]:alexeagle/rules_python.git",
17+
)
18+
1119
# This example is in the same repo with the ruleset, so we should point to the code at HEAD
1220
# rather than use any release on the Bazel Central Registry.
1321
local_path_override(

0 commit comments

Comments
 (0)