Skip to content

Commit 5411e61

Browse files
mikex-osscopybara-github
authored andcommitted
Address bzlmod warnings about specified vs. resolved dep version.
E.g. For repository 'com_google_protobuf', the root module requires module version protobuf@31.1, but got protobuf@33.0 in the resolved dependency graph. Remove a couple transitive deps entirely; the comment no longer appears relevant. PiperOrigin-RevId: 894276677
1 parent f8b3064 commit 5411e61

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

MODULE.bazel

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ bazel_dep(name = "linenoise", version = "2.0.0")
7676
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1")
7777
bazel_dep(name = "or-tools", version = "9.12", repo_name = "com_google_ortools")
7878
bazel_dep(name = "platforms", version = "1.0.0")
79-
bazel_dep(name = "protobuf", version = "31.1", repo_name = "com_google_protobuf")
79+
bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf")
8080
bazel_dep(name = "re2", version = "2024-07-02.bcr.1")
8181
bazel_dep(name = "riegeli", version = "0.0.0-20250822-9f2744d")
8282
bazel_dep(name = "rules_cc", version = "0.2.11")
@@ -169,12 +169,6 @@ bazel_dep(name = "fuzztest", version = "20250805.0", dev_dependency = True, repo
169169
bazel_dep(name = "google_benchmark", version = "1.9.5", dev_dependency = True)
170170
bazel_dep(name = "googletest", version = "1.17.0", dev_dependency = True)
171171

172-
# Repositories we don't really depend on directly, but we need to provide
173-
# for other dependencies as they are using old versions that are not
174-
# compatible with current bazel.
175-
bazel_dep(name = "rules_java", version = "8.14.0")
176-
bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.1")
177-
178172
# compilation DB; build_cleaner
179173
bazel_dep(name = "bant", version = "0.2.4", dev_dependency = True)
180174

MODULE.bazel.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)