You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update grpc-tool's protobuf submodule to protobufv21.2.
Currently, installing the grpc-tools package fails on M1/M2 Macs because previous versions of protobuf did not have precompiled ARM binaries. This was fixed in an April release.
We don't use the protobuf precompiled binaries. And even if we did, that wouldn't solve the whole problem because we also need to build our own binary for the plugin that lives in this repo that generates the service code. In addition, Protobuf v21 removed all JavaScript generation code from the main protoc compiler and moved it to a plugin in https://github.com/protocolbuffers/protobuf-javascript. So, if we actually want to upgrade to protobuf v21, we will have to rework the build here to handle that separate plugin. And based on the issues in that repo, it seems like that plugin may not even work.
I'm just really struggling to figure out how to get gRPC working with an M1 Mac. Seems like all the examples (including one I made in 2020) are broken and it's tough finding a path forward.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update
grpc-tool'sprotobufsubmodule toprotobufv21.2.Currently, installing the
grpc-toolspackage fails on M1/M2 Macs because previous versions ofprotobufdid not have precompiled ARM binaries. This was fixed in an April release.