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
{{ message }}
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
go.mod file includes google.golang.org/grpc/cmd/protoc-gen-go-grpc but does not need it. This causes an issue with go list when V3.2.1 is used in another repo.
Solution
run go mod tidy prior to release.
Details
Updating my repository to use google.golang.org/grpc@v1.40.0 caused a strange and unexpected error. My go.sum file ends up with a dependency on google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod
This causes an issue in my repo when running the following command:
go list google.golang.org/grpc/...
I think this is due to an issue with one of the Go commands - e.g., go mod tidy or go list. But after forking this repo and running go mod tidy the dependency to protoc-gen-go-grpc is removed from martian and then from my repo once I run go mod tidy there. And the go list command works again.