Upgrade deprecated `grpc-tools` to `@grpc/grpc-js`
aeneasr opened this issue · comments
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Cloud project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
grpc-tools does not work with Apple M1 as darwin arm64 binaries are missing, thus it is not possible to run tasks like make buf
on an Apple M1 chip.
grpc-tools is deprectead, and maintainers encourage to use @grpc/grpc-js
instead.
Reproducing the bug
See above
Relevant log output
No response
Relevant configuration
No response
Version
master
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response
grpc-tools
is not deprecated and does something completely different than @grpc/grpc-js
. We already use @grpc/grpc-js
instead of the deprecated grpc
package.
However, I overhauled and upgraded the buf and protoc pipeline in #1097. I hope that works on apple arm chips now.
The new version should work on mac/arm grpc/grpc-node#1405 (comment) outside of docker at least.