Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web.bzl: avoid depset union operators #2993

Merged
merged 1 commit into from
Dec 4, 2019
Merged

Conversation

wchargin
Copy link
Contributor

@wchargin wchargin commented Dec 4, 2019

Summary:
The +, +=, and | operators on depsets, as well as depset.union,
are deprecated due to performance problems:
bazelbuild/bazel#5817

As of a recent Bazel commit, .union is removed is removed entirely, so
the operators may be soon on the chopping block:
bazelbuild/bazel@693963f

This commit removes remaining uses from TensorBoard.

Google-internal source: http://cl/283060975 (thanks, @laurentlb!).

Test Plan:
Running bazel run //tensorboard still works.

Co-authored-by: Laurent Le Brun [email protected]
wchargin-branch: remove-depset-union

Summary:
The `+`, `+=`, and `|` operators on depsets, as well as `depset.union`,
are deprecated due to performance problems:
<bazelbuild/bazel#5817>

As of a recent Bazel commit, `.union` is removed is removed entirely, so
the operators may be soon on the chopping block:
<bazelbuild/bazel@693963f>

This commit removes remaining uses from TensorBoard.

Google-internal source: <http://cl/283060975> (thanks, @laurentlb!).

Test Plan:
Running `bazel run //tensorboard` still works.

Co-authored-by: Laurent Le Brun <[email protected]>
wchargin-branch: remove-depset-union
@wchargin wchargin merged commit 85c8323 into master Dec 4, 2019
@wchargin wchargin deleted the wchargin-remove-depset-union branch December 4, 2019 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants