Skip to content

Commit abfdd9c

Browse files
committed
chore: green up example
1 parent 3edcae3 commit abfdd9c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

examples/py_proto_library/WORKSPACE

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ python_register_toolchains(
2222
# Then we need to setup dependencies in order to use py_proto_library
2323
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2424

25-
2625
http_archive(
2726
name = "rules_proto",
2827
sha256 = "904a8097fae42a690c8e08d805210e40cccb069f5f9a0f6727cf4faa7bed2c9c",
@@ -31,18 +30,17 @@ http_archive(
3130
)
3231

3332
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
33+
3434
rules_proto_dependencies()
35-
rules_proto_toolchains()
3635

36+
rules_proto_toolchains()
3737

3838
http_archive(
3939
name = "com_google_protobuf",
40-
# sha256 = "8632d7e8a6cbbd7e58f40e3f62fed77bff3df6e4dcac73498f0a68ba5a38d892",
41-
strip_prefix = "protobuf-d1c5e885b7b7d3ac888e89cf4d45cb0c9fa6b4ed",
42-
urls = ["https://github.com/protocolbuffers/protobuf/archive/d1c5e885b7b7d3ac888e89cf4d45cb0c9fa6b4ed.tar.gz"],
40+
strip_prefix = "protobuf-25.3",
41+
urls = ["https://github.com/protocolbuffers/protobuf/archive/v25.3.tar.gz"],
4342
)
4443

45-
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps", "protobuf_register_toolchains")
46-
protobuf_deps()
47-
protobuf_register_toolchains()
44+
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
4845

46+
protobuf_deps()

0 commit comments

Comments
 (0)