+ operator on a depset is forbidden#484
Merged
Merged
Conversation
Fixes: ERROR: test/proto/BUILD:36:1: in scala_proto_srcjar rule //test/proto:test_proto_java_conversions_srcjar: Traceback (most recent call last): File "test/proto/BUILD", line 36 scala_proto_srcjar(name = 'test_proto_java_conversions_srcjar') File "scala_proto/scala_proto.bzl", line 332, in _gen_proto_srcjar_impl transitive_proto_paths += target.proto.transitive_proto_path `+` operator on a depset is forbidden. See https://docs.bazel.build/versions/master/skylark/depsets.html for recommendations. Use --incompatible_depset_union=false to temporarily disable this check. See also bazel-contrib#480
Contributor
|
lgtm confused why our test with |
Contributor
Author
That's how I noticed it, but I was testing with 0.12. Are you still using 0.11 because of the change to strict deps in 0.12? |
Contributor
|
we are still using 0.11 because the PR to bump to 0.12 failed CI: #481 and no one has diagnosed/repaired it AFAIK. |
Contributor
Author
|
Makes sense. This is the only issue I saw with 0.12 related to |
Contributor
|
thanks! |
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.
Fixes:
See also #480