-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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] Enable grpcio-reflection to be used via Bazel #31013
Conversation
Can you please add a test case to this directory? |
Thanks for the remainder. I realize that there are more problems with this issue than what I have already done. Under from ...com_github_grpc_grpc.src.proto.grpc.reflection.v1alpha.reflection_pb2 import * with or without the change to proto plugin argument (my original fix to #31011). This will trigger the error
To fix I have to add the following which is a little bit beyond the original scope:
|
@gnossen PTAL |
seems to be completely irreverent to this PR |
@gnossen Anything else I need to do? |
@gnossen is it possible to get this submitted? It's blocking our usage of grpcio-reflection so it'd be great to have this bug fixed. |
I've been using this commit as a patch in my private projects for a while and didn't see any issues. |
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.
Thanks for the contribution! Sorry for the delay.
The current `py_grpc_library` results in the wrong grpc proto python code path when grpc is a third-party source code in a Bazel project. This PR should fix it. fixes grpc#31011 <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. --> --------- Co-authored-by: Richard Belleville <rbellevi@google.com>
@CareF @gnossen The change in
When reverting this change and always using Any suggestion on how to move forward? |
The current
py_grpc_library
results in the wrong grpc proto python code path when grpc is a third-party source code in a Bazel project. This PR should fix it.fixes #31011