-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update proto package imports to google.golang.org/protobuf/proto #5316
Comments
We looked into this migration a year or two ago, but it's a non-trivial amount of work (due to the API changes) for a relatively small benefit (it's been rewritten internally to use the new library already). |
This was discussed in #5110 |
...which was a dupe of #3554 I think we should have an issue for this open, but we have no upcoming plans to do anything here. |
I tried to remove all references to
wdyt? |
FWIW I created golang/protobuf#1442 so we can try to get a non-deprecated way of maintaining our existing API. |
Is there a path forward now that golang/protobuf#1442 has been resolved? I may be able to contribute. |
@chriscasola : Please feel free to send us a PR. But please do keep in mind that old |
The worst thing out of this transition is this part of channelz/service/service_test.go. In order to be able to switch to func (m *OtherSecurityValue) ProtoReflect() protoreflect.Message { return /*TBD*/ } if anyone knows how to make Also, @easwars, I'm interested in knowing which APIs cannot be changed because old proto is part of them. |
The last time we undertook this exercise, I vaguely remember the old
The reference to the old
|
@dfawley is working on a major rewrite of the |
I removed the P3 label so that we track this in our weekly meeting to see if we can make progress. |
Please just leave this part alone for now. I've rewritten these tests to not convert away from proto before checking the result; instead it builds the expected proto response and validates the actual response directly against the expectation.
Woah that's great to hear! I'll assign this issue to you for now. The part of |
#6736 -- in flight to take a first pass at fixing the dependency |
Thanks for the PRs @Clement-Jean . IIUC the only remaining thing is channelz, which is blocked on #6969. |
Yes, I think we're all clear now to finish it. Unfortunately, it looks like we'll still keep the dependency in perpetuity because of testing in https://github.com/grpc/grpc-go/blob/cce163274b6cb9de2b2bf0bc742384e5755fee42/reflection/grpc_testing_not_regenerate/testv3.go#L41C9-L41C41 |
This was closed by automation. Keeping this open and assigning it my self to verify the fix. |
Hello everyone
Why is this dependency not removed?
It's deprecated and we are constantly receiving warnings in the our applications.
github.com/golang/protobuf v1.5.2
The text was updated successfully, but these errors were encountered: