Skip to content

Commit 2985323

Browse files
committed
chore(deps): update com_google_protobuf to v31.0
This version includes fixes for the MinGW compiler and makes the patch obsolete.
1 parent 6168e8a commit 2985323

File tree

4 files changed

+5
-40
lines changed

4 files changed

+5
-40
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bazel_dep(
1717
)
1818
bazel_dep(
1919
name = "protobuf",
20-
version = "21.7",
20+
version = "31.0",
2121
repo_name = "com_google_protobuf",
2222
)
2323
bazel_dep(

haskell/private/com_google_protobuf-protoc-dbghlp.diff

Lines changed: 0 additions & 29 deletions
This file was deleted.

haskell/repositories.bzl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,11 @@ def rules_haskell_dependencies():
129129
maybe(
130130
http_archive,
131131
name = "com_google_protobuf",
132-
sha256 = "7c3ebd7aaedd86fa5dc479a0fda803f602caaf78d8aff7ce83b89e1b8ae7442a",
133-
strip_prefix = "protobuf-28.3",
132+
sha256 = "29372fc269325b491126d204931eda436bf9a593f46b3467fac42c40f9b32944",
133+
strip_prefix = "protobuf-31.0",
134134
urls = [
135-
"https://github.com/protocolbuffers/protobuf/archive/refs/tags/v28.3.tar.gz",
135+
"https://github.com/protocolbuffers/protobuf/releases/download/v31.0/protobuf-31.0.tar.gz",
136136
],
137-
patches = [
138-
# see https://github.com/protocolbuffers/protobuf/issues/16844
139-
# TODO: remove for protobuf version >= 32.0
140-
"@rules_haskell//haskell:private/com_google_protobuf-protoc-dbghlp.diff",
141-
],
142-
patch_args = ["-p1"],
143137
)
144138
maybe(
145139
http_archive,

rules_haskell_tests/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ bazel_dep(
8181
)
8282
bazel_dep(
8383
name = "protobuf",
84-
version = "28.0",
84+
version = "31.0",
8585
repo_name = "com_google_protobuf",
8686
)
8787
bazel_dep(

0 commit comments

Comments
 (0)