Skip to content

Commit eb860eb

Browse files
committed
Pin rules_python to 0.24.0 to fix release build error
1 parent 5d939db commit eb860eb

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

WORKSPACE

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,21 @@ http_archive(
1010
)
1111

1212
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
13-
1413
protobuf_deps()
1514

15+
16+
# Taken from
17+
# https://github.com/bazelbuild/rules_pkg/blob/main/pkg/deps.bzl.
18+
#
19+
# This is required under bazel 6 according to
20+
# https://github.com/bazelbuild/rules_pkg/issues/872, otherwise we
21+
# will see the same error.
22+
http_archive(
23+
name = "rules_python",
24+
sha256 = "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578",
25+
strip_prefix = "rules_python-0.24.0",
26+
url = "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.0.tar.gz",
27+
)
28+
1629
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
1730
rules_pkg_dependencies()

0 commit comments

Comments
 (0)