Bazel 7 cleanup and dependency-wiring simplification#7111
Draft
psamanoelton wants to merge 28 commits into
Draft
Bazel 7 cleanup and dependency-wiring simplification#7111psamanoelton wants to merge 28 commits into
psamanoelton wants to merge 28 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR does a small round of Bazel 7 cleanup and dependency-wiring simplification on top of the already-working Bazel 7 / protobuf 6 baseline.
The goal is not to change dependency versions or CI behavior, but to reduce migration-specific scaffolding where it is no longer needed, keep the remaining shims clearly documented, and preserve a clean, working build/test state.
What changed
Repository helper cleanup
third_party/repo.bzltb_http_archivesupport forbuild_file/link_filestb_http_archivefocused on the behaviors still used in this repo:WORKSPACE cleanup
http_archivewhere the TensorBoard-specific helper was no longer adding valuetb_http_archive(...)only for repositories that still need:Compatibility shim review
third_party/compatibility_proxyis still required by the currentrules_java/ protobuf loading paththird_party/protobuf_pip_depsandthird_party/protobuf_pip_deps_setuptoolsare still required by protobuf 6.31.1’s Bazel macros and Python packaging flowWhy this PR is useful
This PR keeps the Bazel 7 migration easier to maintain by:
Validation
Validated with:
bazel fetch //tensorboard/...bazel build //tensorboard/... --nobuildbazel build //tensorboard/...bazel test //tensorboard/plugins/debugger_v2:debugger_v2_plugin_test