Skip to content

Commit 2464e65

Browse files
authored
Bump dependency versions for rules_scala v7.1.2 (bazel-contrib#1772)
Updates the following dependencies: - Go: 1.25.0 => 1.25.1 - `bazel-contrib/.github:release_ruleset.yaml`: 7.2.2 => 7.2.3 - `bazel-contrib/publish-to-bcr:publish.yaml`: 0.1.0 => 1.0.0 - `golang.org/x/tools`: 0.36.0 => 0.37.0 - `google-common-protos`: 2.61.0 => 2.61.1 - `jline`: 3.30.5 => 3.30.6 - `protobuf-java`: 4.32.0 => 4.32.1 - `protobuf`: 32.0 => 32.1 - `rules_cc`: 0.2.3 => 0.2.8 - `rules_python`: 1.6.0 => 1.6.1 - `rules_shell`: 0.6.0 => 0.6.1 - `util-interface`: 1.11.5 => 1.11.6 Also changes all the `bazel_dep` declarations for `protobuf` to remove the curently unnecessary `version` parameter from: ```py bazel_dep( name = "protobuf", version = "32.0", repo_name = "com_google_protobuf", ) ``` to: ```py bazel_dep(name = "protobuf", repo_name = "com_google_protobuf") ``` If protocolbuffers/protobuf#19679 ever lands, we'll remove the `bazel_dep` declarations altogether and rely on `deps/latest/MODULE.bazel`. --- This is mostly a routine version bump before a new release. The changes to the `bazel_dep` statements for `protobuf` aim to make the diffs smaller when increasing the `protobuf` version in the future.
1 parent 4395bf4 commit 2464e65

File tree

33 files changed

+203
-248
lines changed

33 files changed

+203
-248
lines changed

.github/workflows/publish-to-bcr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424

2525
jobs:
2626
publish-to-bcr:
27-
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v0.1.0
27+
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.0.0
2828
with:
2929
tag_name: ${{ inputs.tag_name }}
3030
# bazelbuild/bazel-central-registry fork used to open a pull request.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727

2828
jobs:
2929
release:
30-
uses: bazel-contrib/.github/.github/workflows/[email protected].2
30+
uses: bazel-contrib/.github/.github/workflows/[email protected].3
3131
with:
3232
bazel_test_command: "bazel test //src/... //test/... //third_party/..."
3333
prerelease: false

MODULE.bazel

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ single_version_override(
6363
module_name = "protobuf",
6464
patch_strip = 1,
6565
patches = ["//protoc:0001-protobuf-19679-rm-protoc-dep.patch"],
66-
version = "32.0",
66+
version = "32.1",
6767
)
6868

6969
# See //src/java/io/bazel/rulesscala/worker:worker_protocol_java_proto.
@@ -268,7 +268,7 @@ go_sdk = use_extension(
268268
"go_sdk",
269269
dev_dependency = True,
270270
)
271-
go_sdk.download(version = "1.25.0")
271+
go_sdk.download(version = "1.25.1")
272272

273273
go_deps = use_extension(
274274
"@gazelle//:extensions.bzl",
@@ -287,11 +287,11 @@ go_deps = use_extension(
287287
# - https://go.dev/ref/mod#checksum-database
288288
#
289289
# go list -m golang.org/x/tools@latest
290-
# curl https://sum.golang.org/lookup/golang.org/x/tools@v0.35.0
290+
# curl https://sum.golang.org/lookup/golang.org/x/tools@v0.37.0
291291
go_deps.module(
292292
path = "golang.org/x/tools",
293-
sum = "h1:kWS0uv/zsvHEle1LbV5LE8QujrxB3wfQyxHfhOk0Qkg=",
294-
version = "v0.36.0",
293+
sum = "h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE=",
294+
version = "v0.37.0",
295295
)
296296
go_deps.module(
297297
path = "github.com/golang/protobuf",
@@ -304,5 +304,5 @@ use_repo(
304304
"org_golang_x_tools",
305305
)
306306

307-
bazel_dep(name = "rules_python", version = "1.6.0", dev_dependency = True)
308-
bazel_dep(name = "rules_shell", version = "0.6.0", dev_dependency = True)
307+
bazel_dep(name = "rules_python", version = "1.6.1", dev_dependency = True)
308+
bazel_dep(name = "rules_shell", version = "0.6.1", dev_dependency = True)

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ load(
120120

121121
go_rules_dependencies()
122122

123-
go_register_toolchains(version = "1.25.0")
123+
go_register_toolchains(version = "1.25.1")
124124

125125
http_archive(
126126
name = "bazelci_rules",

deps/latest/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ bazel_dep(name = "rules_proto", version = "7.1.0")
1515
# https://github.com/bazelbuild/bazel/pull/25681 removed
1616
# `bazel_tools/tools/cpp/osx_cc_wrapper.sh.tpl` in the `last_green` Bazel as of
1717
# 2025-04-08. At least `test_cross_build` breaks without this.
18-
bazel_dep(name = "rules_cc", version = "0.2.3")
18+
bazel_dep(name = "rules_cc", version = "0.2.8")

dt_patches/test_dt_patches/MODULE.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,10 @@ register_toolchains(
7373

7474
# Temporarily required for `protoc` toolchainization until resolution of
7575
# protocolbuffers/protobuf#19679.
76-
bazel_dep(
77-
name = "protobuf",
78-
version = "32.0",
79-
repo_name = "com_google_protobuf",
80-
)
76+
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf")
8177
single_version_override(
8278
module_name = "protobuf",
8379
patch_strip = 1,
8480
patches = ["//:protobuf.patch"],
85-
version = "32.0",
81+
version = "32.1",
8682
)

dt_patches/test_dt_patches_user_srcjar/MODULE.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,10 @@ register_toolchains(
189189

190190
# Temporarily required for `protoc` toolchainization until resolution of
191191
# protocolbuffers/protobuf#19679.
192-
bazel_dep(
193-
name = "protobuf",
194-
version = "32.0",
195-
repo_name = "com_google_protobuf",
196-
)
192+
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf")
197193
single_version_override(
198194
module_name = "protobuf",
199195
patch_strip = 1,
200196
patches = ["//:protobuf.patch"],
201-
version = "32.0",
197+
version = "32.1",
202198
)

examples/crossbuild/MODULE.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,10 @@ register_toolchains(
5353

5454
# Temporarily required for `protoc` toolchainization until resolution of
5555
# protocolbuffers/protobuf#19679.
56-
bazel_dep(
57-
name = "protobuf",
58-
version = "32.0",
59-
repo_name = "com_google_protobuf",
60-
)
56+
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf")
6157
single_version_override(
6258
module_name = "protobuf",
6359
patch_strip = 1,
6460
patches = ["//:protobuf.patch"],
65-
version = "32.0",
61+
version = "32.1",
6662
)

examples/overridden_artifacts/MODULE.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,10 @@ register_toolchains(
7878

7979
# Temporarily required for `protoc` toolchainization until resolution of
8080
# protocolbuffers/protobuf#19679.
81-
bazel_dep(
82-
name = "protobuf",
83-
version = "32.0",
84-
repo_name = "com_google_protobuf",
85-
)
81+
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf")
8682
single_version_override(
8783
module_name = "protobuf",
8884
patch_strip = 1,
8985
patches = ["//:protobuf.patch"],
90-
version = "32.0",
86+
version = "32.1",
9187
)

examples/scala3/MODULE.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ register_toolchains(
3737

3838
# Temporarily required for `protoc` toolchainization until resolution of
3939
# protocolbuffers/protobuf#19679.
40-
bazel_dep(
41-
name = "protobuf",
42-
version = "32.0",
43-
repo_name = "com_google_protobuf",
44-
)
40+
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf")
4541
single_version_override(
4642
module_name = "protobuf",
4743
patch_strip = 1,
4844
patches = ["//:protobuf.patch"],
49-
version = "32.0",
45+
version = "32.1",
5046
)

0 commit comments

Comments
 (0)