Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
bazel_version
repository to avoid conflict
We use a synthetic `bazel_version` repository to make the Bazel version available in more contexts (see [bazelbuild/bazel#8305][i8305]). But some other repositories do so, too, with the same repository name and a different repository structure. In particular, it is not currently possible to use `rules_rust` and certain versions of `upb` (downstream of protobuf) in the same repository, due to their definition here: https://github.com/protocolbuffers/upb/blob/c1357afb2e39df671d89eaec49033b5329f36a3e/bazel/repository_defs.bzl#L7-L10 An easy workaround is to disambiguate the name. It looks much easier to change `rules_rust` than to change `upb` and update its long chain of workspace dependencies, hence this patch. :-) See my comment on bazelbuild#268 for more details and a full repro: bazelbuild#268 (comment) [i8305]: bazelbuild/bazel#8305 Test Plan: Tested by adding the README’s workspace stanza to TensorBoard (at current master, 8d629954c251). It fails at `rules_rust = 5998baf`, but succeeds with a `local_repository` that has this patch. wchargin-branch: disambiguate-bazel-version-repo wchargin-source: 7d8ca1dd816cca59f4e1099257e6bd3a77475368
- Loading branch information