Upgrade protobuf dependency to 1.36.1, remove retool #402
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.
I want to add support for protobuf editions, which requires a newer version of the protobuf module than is currently here. This updates it to the latest released version. Because it makes for a noisy diff, doing the dependency update PR by itself.
I had problems with retool when trying to update
protoc-gen-go
to match the vendored protobuf version. Current Go no longer supportsgo get
in GOPATH mode. I tried with older builds of Go, but for some reason the tool update wants to fetch a newererrcheck
which doesn't build on older Go. Because retool appears to be dead anyway (has been archived for ~2.5 years), I removed it and replaced it with module-enabledgo install
commands in the Makefile forerrcheck
andprotoc-gen-go
. This gives us the same experience as with retool, and doesn't require twirp to become a module.Protoc has changed it's versioning scheme and moved beyond v3, so the check script was updated to handle version 3 or greater.
Generated protobuf code was re-generated with the current generator.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.