Skip to content

Fix CLI "too long" issues in py_proto_library.#7458

Merged
acozzette merged 2 commits into
protocolbuffers:masterfrom
htuch:fix-includes-3
May 14, 2020
Merged

Fix CLI "too long" issues in py_proto_library.#7458
acozzette merged 2 commits into
protocolbuffers:masterfrom
htuch:fix-includes-3

Conversation

@htuch
Copy link
Copy Markdown
Contributor

@htuch htuch commented May 4, 2020

Envoy was experiencing failed builds due to lots of duplicate -I in the
CLI. The solution is to generally use depset() as per Starlark best
practice for this sort of thing.

Might fix other issues beyond py_proto_library, anything that depends on
proto_gen.

release notes: no

Signed-off-by: Harvey Tuch htuch@google.com

Envoy was experiencing failed builds due to lots of duplicate -I in the
CLI. The solution is to generally use depset() as per Starlark best
practice for this sort of thing.

Might fix other issues beyond py_proto_library, anything that depends on
proto_gen.

release notes: no

Signed-off-by: Harvey Tuch <htuch@google.com>
@acozzette
Copy link
Copy Markdown

@htuch I see a Bazel error in the CI test, do you know what that is about?

@acozzette acozzette self-assigned this May 8, 2020
Signed-off-by: Harvey Tuch <htuch@google.com>
@htuch
Copy link
Copy Markdown
Contributor Author

htuch commented May 12, 2020

@acozzette should be fixed now, can you run CI again? Thanks.

@acozzette acozzette merged commit 9482bfd into protocolbuffers:master May 14, 2020
@acozzette
Copy link
Copy Markdown

Thanks, @htuch.

@Yannic
Copy link
Copy Markdown
Contributor

Yannic commented May 23, 2020

@htuch Suspecting this as the root-cause for the failure on Bazel-CI. https://buildkite.com/bazel/protobuf/builds/3316

htuch added a commit to htuch/protobuf that referenced this pull request May 26, 2020
See
protocolbuffers#7458 (comment).

release notes: no

Signed-off-by: Harvey Tuch <htuch@google.com>
@htuch
Copy link
Copy Markdown
Contributor Author

htuch commented May 26, 2020

@Yannic thanks, I think #7554 should fix this.

acozzette pushed a commit that referenced this pull request May 29, 2020
See
#7458 (comment).

release notes: no

Signed-off-by: Harvey Tuch <htuch@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants