Skip to content

Commit ccb341d

Browse files
committed
Update rules_cc and protobuf
1 parent e487b6d commit ccb341d

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ module(
66

77
bazel_dep(name = "bazel_features", version = "1.21.0")
88
bazel_dep(name = "bazel_skylib", version = "1.8.2")
9-
bazel_dep(name = "rules_cc", version = "0.1.5")
9+
bazel_dep(name = "rules_cc", version = "0.2.10")
1010
bazel_dep(name = "platforms", version = "0.0.11")
1111

1212
# Those are loaded only when using py_proto_library
1313
# Use py_proto_library directly from protobuf repository
14-
bazel_dep(name = "protobuf", version = "29.0-rc2", repo_name = "com_google_protobuf")
14+
bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf")
1515

1616
rules_python_config = use_extension("//python/extensions:config.bzl", "config")
1717
use_repo(

internal_dev_deps.bzl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ def rules_python_internal_deps():
195195

196196
http_archive(
197197
name = "com_google_protobuf",
198-
sha256 = "23082dca1ca73a1e9c6cbe40097b41e81f71f3b4d6201e36c134acc30a1b3660",
199-
url = "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protobuf-29.0-rc2.zip",
200-
strip_prefix = "protobuf-29.0-rc2",
198+
sha256 = "aaddf29b205ed915100a5fd096e8252842b67da9accfb7ba91ec3680ea307e45",
199+
url = "https://github.com/protocolbuffers/protobuf/releases/download/v33.0/protobuf-33.0.zip",
200+
strip_prefix = "protobuf-33.0",
201201
)
202202

203203
# Needed for stardoc
@@ -238,9 +238,9 @@ def rules_python_internal_deps():
238238

239239
http_archive(
240240
name = "rules_cc",
241-
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.5/rules_cc-0.1.5.tar.gz"],
242-
sha256 = "b8b918a85f9144c01f6cfe0f45e4f2838c7413961a8ff23bc0c6cdf8bb07a3b6",
243-
strip_prefix = "rules_cc-0.1.5",
241+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.2.10/rules_cc-0.2.10.tar.gz"],
242+
sha256 = "774fd6cb9f90f98f1d26c776896b16a517a1af65337fcfaa705261df175f04a6",
243+
strip_prefix = "rules_cc-0.2.10",
244244
)
245245

246246
http_archive(

python/private/py_repositories.bzl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@ def py_repositories(transition_settings = []):
6868
)
6969
http_archive(
7070
name = "rules_cc",
71-
sha256 = "b8b918a85f9144c01f6cfe0f45e4f2838c7413961a8ff23bc0c6cdf8bb07a3b6",
72-
strip_prefix = "rules_cc-0.1.5",
73-
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.5/rules_cc-0.1.5.tar.gz"],
71+
sha256 = "774fd6cb9f90f98f1d26c776896b16a517a1af65337fcfaa705261df175f04a6",
72+
strip_prefix = "rules_cc-0.2.10",
73+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.2.10/rules_cc-0.2.10.tar.gz"],
7474
)
7575

7676
# Needed by rules_cc, triggered by @rules_java_prebuilt in Bazel by using @rules_cc//cc:defs.bzl
7777
# NOTE: This name must be com_google_protobuf until Bazel drops WORKSPACE
7878
# support; Bazel itself has references to com_google_protobuf.
7979
http_archive(
8080
name = "com_google_protobuf",
81-
sha256 = "23082dca1ca73a1e9c6cbe40097b41e81f71f3b4d6201e36c134acc30a1b3660",
82-
url = "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protobuf-29.0-rc2.zip",
83-
strip_prefix = "protobuf-29.0-rc2",
81+
sha256 = "aaddf29b205ed915100a5fd096e8252842b67da9accfb7ba91ec3680ea307e45",
82+
url = "https://github.com/protocolbuffers/protobuf/releases/download/v33.0/protobuf-33.0.zip",
83+
strip_prefix = "protobuf-33.0",
8484
)
8585
pypi_deps()

tests/integration/local_toolchains/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module(name = "module_under_test")
1616
bazel_dep(name = "rules_python", version = "0.0.0")
1717
bazel_dep(name = "bazel_skylib", version = "1.7.1")
1818
bazel_dep(name = "platforms", version = "0.0.11")
19-
bazel_dep(name = "rules_cc", version = "0.1.5")
19+
bazel_dep(name = "rules_cc", version = "0.2.10")
2020

2121
local_path_override(
2222
module_name = "rules_python",

0 commit comments

Comments
 (0)