Skip to content

Commit 31b9848

Browse files
committed
Tweak some Bazel dependency versions
Signed-off-by: Bili Dong <[email protected]>
1 parent 721de50 commit 31b9848

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

p4_constraints_deps.bzl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ def p4_constraints_deps():
2727
if not native.existing_rule("com_google_protobuf"):
2828
http_archive(
2929
name = "com_google_protobuf",
30-
url = "https://github.com/protocolbuffers/protobuf/releases/download/v29.1/protobuf-29.1.tar.gz",
31-
strip_prefix = "protobuf-29.1",
30+
url = "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v25.2.zip",
31+
strip_prefix = "protobuf-25.2",
32+
sha256 = "ddd0f5271f31b549efc74eb39061e142132653d5d043071fcec265bd571e73c4",
3233
)
3334
if not native.existing_rule("com_googlesource_code_re2"):
3435
http_archive(
@@ -39,9 +40,9 @@ def p4_constraints_deps():
3940
if not native.existing_rule("rules_proto"):
4041
http_archive(
4142
name = "rules_proto",
42-
sha256 = "0e5c64a2599a6e26c6a03d6162242d231ecc0de219534c38cb4402171def21e8",
43-
strip_prefix = "rules_proto-7.0.2",
44-
url = "https://github.com/bazelbuild/rules_proto/releases/download/7.0.2/rules_proto-7.0.2.tar.gz",
43+
url = "https://github.com/bazelbuild/rules_proto/archive/5.3.0-21.7.tar.gz",
44+
strip_prefix = "rules_proto-5.3.0-21.7",
45+
sha256 = "dc3fb206a2cb3441b485eb1e423165b231235a1ea9b031b4433cf7bc1fa460dd",
4546
)
4647
if not native.existing_rule("com_github_p4lang_p4runtime"):
4748
http_archive(

0 commit comments

Comments
 (0)