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.
Version: v3.2.1
Problem
go.modfile includesgoogle.golang.org/grpc/cmd/protoc-gen-go-grpcbut does not need it. This causes an issue withgo listwhen V3.2.1 is used in another repo.Solution
run
go mod tidyprior to release.Details
Updating my repository to use
google.golang.org/grpc@v1.40.0caused a strange and unexpected error. Mygo.sumfile ends up with a dependency ongoogle.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.modThis causes an issue in my repo when running the following command:
I think this is due to an issue with one of the Go commands - e.g.,
go mod tidyorgo list. But after forking this repo and runninggo mod tidythe dependency toprotoc-gen-go-grpcis removed frommartianand then from my repo once I rungo mod tidythere. And thego listcommand works again.