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
Bazel rules for gRPC Python interop tests #16813
Bazel rules for gRPC Python interop tests #16813
Conversation
|
|
|
|
acfa7c5
to
a7c4b57
Compare
|
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
|
|
|
|
Restarted the tests as interop test was broken yesterday due to some other reason. |
|
|
|
|
src/proto/grpc/testing/BUILD
Outdated
] | ||
) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these newlines produced by a formatting tool? If not, let's get rid of extra newlines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, no. Just my editor! I believe it is a standard convention to have one newline at the end of a Python file (which Skylark essentially is a stripped down version of). I've updated my commit to reflect that now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something to be done at a later time in a later pull request: Bazel has a tool called "buildifier", and whatever buildifier says is the way a BUILD file should be formatted is the way it should be formatted. 🙂
@nicolasnoble: is now or the near future about the right time to add buildifier to the sanity tests?
Add interop tests for gRPC Python. py_proto_library rules are added to src/proto/grpc/testing/BUILD since grpc_proto_library is not compatible with py_* rules. 'requests' python module is added to requirements.bazel.txt as it is a dependency for google-auth. Previously, this was installed through tools/run_tests/helper_scripts/build_python.sh before running tests.
a7c4b57
to
9172775
Compare
|
|
|
|
Add interop tests for gRPC Python. py_proto_library rules are added to src/proto/grpc/testing/BUILD since grpc_proto_library is not compatible with py_* rules.
'requests' python module is added to requirements.bazel.txt as it is a dependency for google-auth. Previously, this was installed through tools/run_tests/helper_scripts/build_python.sh before running tests.