-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sadly the `betterproto` community is completely unresponsive when asking about the health of the project, and its main dependency, `grpclib`, is in maintenance mode and the author says this project only existed because `grpcio` didn't support `async`, and this is why it doesn't have a purpose anymore. Because of this, we go back to using `grpcio` and the Google's `protobuf` generator. This PR partially reverts these commits: * Migrate the client code to use `betterproto` (e159417) * Fix component tests to use `betterproto` (b5b52d5) * Fix client test to use `betterproto` (b3efe71) It preserves the changes to tests to use mocks instead of a fake but full gRPC server, and adapts the new code to use the `grpcio` library and the generated code from the traditional Google's `protobuf` compiler. It also bumps the `frequenz-client-base` dependency to 0.6.0, as the version being used only supported `grpclib` for parsing URLs. We also start using the new `exceptions` module from `frequenz-clien-base` to avoid having to port the local copy to use `grpcio`, but we don't use other new features in the new release in this PR. Fixes #76.
- Loading branch information
Showing
13 changed files
with
603 additions
and
1,278 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.