-
Notifications
You must be signed in to change notification settings - Fork 1.4k
go.mod: remove github.com/kr/pretty #3780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hum I'm wonder why our vendor validation does not see that this indirect dep is not used. I guess that's because this dep is still used by a peer dependency and therefore still relevant as an indirect one. |
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
does the vendor validation also run "go mod tidy"? Wondering if it's something like that perhaps 🤔 |
Yes, but
|
OH! I think I understand now why; Here's what (I think) happened
❓ why did dependabot decide to update that dependency though? See: go mod graph | grep ' github.com/kr/pretty'
github.com/moby/buildkit github.com/kr/pretty@v0.3.0
github.com/grpc-ecosystem/grpc-gateway/v2@v2.11.3 github.com/kr/pretty@v0.1.0
github.com/tonistiigi/fsutil@v0.0.0-20230105215944-fb433841cbfa github.com/kr/pretty@v0.2.0
github.com/prometheus/client_golang@v1.7.1 github.com/kr/pretty@v0.1.0
k8s.io/cri-api@v0.20.1 github.com/kr/pretty@v0.2.0
gopkg.in/errgo.v2@v2.1.0 github.com/kr/pretty@v0.1.0
github.com/frankban/quicktest@v1.11.3 github.com/kr/pretty@v0.2.1
github.com/Microsoft/hcsshim@v0.8.10 github.com/kr/pretty@v0.1.0
github.com/googleapis/gnostic@v0.4.1 github.com/kr/pretty@v0.2.0
github.com/Microsoft/hcsshim@v0.8.9 github.com/kr/pretty@v0.1.0
github.com/Microsoft/hcsshim@v0.8.14 github.com/kr/pretty@v0.1.0
github.com/go-openapi/swag@v0.19.5 github.com/kr/pretty@v0.1.0
github.com/grpc-ecosystem/grpc-gateway@v1.9.5 github.com/kr/pretty@v0.1.0
github.com/docker/distribution@v0.0.0-20190905152932-14b96e55d84c github.com/kr/pretty@v0.1.0
k8s.io/cri-api@v0.17.3 github.com/kr/pretty@v0.1.0
github.com/google/go-containerregistry@v0.0.0-20191010200024-a3d713f9b7f8 github.com/kr/pretty@v0.1.0
github.com/apex/log@v1.3.0 github.com/kr/pretty@v0.2.0
github.com/bombsimon/wsl/v2@v2.2.0 github.com/kr/pretty@v0.2.0
github.com/maxbrunsfeld/counterfeiter/v6@v6.2.2 github.com/kr/pretty@v0.1.0
github.com/securego/gosec@v0.0.0-20200401082031-e946c8c39989 github.com/kr/pretty@v0.1.0
k8s.io/apimachinery@v0.17.4 github.com/kr/pretty@v0.1.0
github.com/goreleaser/nfpm@v1.2.1 github.com/kr/pretty@v0.1.0
github.com/grpc-ecosystem/grpc-gateway@v1.9.0 github.com/kr/pretty@v0.1.0
github.com/go-openapi/swag@v0.19.2 github.com/kr/pretty@v0.1.0
github.com/bombsimon/wsl/v2@v2.0.0 github.com/kr/pretty@v0.1.0
github.com/securego/gosec@v0.0.0-20200103095621-79fbf3af8d83 github.com/kr/pretty@v0.1.0
github.com/Azure/azure-storage-blob-go@v0.8.0 github.com/kr/pretty@v0.1.0
github.com/securego/gosec/v2@v2.3.0 github.com/kr/pretty@v0.1.0
github.com/grpc-ecosystem/grpc-gateway@v1.9.2 github.com/kr/pretty@v0.1.0
github.com/grpc-ecosystem/grpc-gateway@v1.8.5 github.com/kr/pretty@v0.1.0And: go mod graph | grep ' github.com/rogpeppe/go-internal'
github.com/containerd/stargz-snapshotter@v0.14.1 github.com/rogpeppe/go-internal@v1.9.0
github.com/kr/pretty@v0.3.0 github.com/rogpeppe/go-internal@v1.6.1
honnef.co/go/tools@v0.0.1-2020.1.3 github.com/rogpeppe/go-internal@v1.3.0
honnef.co/go/tools@v0.0.1-2020.1.5 github.com/rogpeppe/go-internal@v1.3.0
mvdan.cc/unparam@v0.0.0-20200501210554-b37ab49443f7 github.com/rogpeppe/go-internal@v1.5.2
honnef.co/go/tools@v0.0.1-2020.1.4 github.com/rogpeppe/go-internal@v1.3.0
honnef.co/go/tools@v0.0.1-2019.2.3 github.com/rogpeppe/go-internal@v1.3.0
mvdan.cc/unparam@v0.0.0-20190720180237-d51796306d8f github.com/rogpeppe/go-internal@v1.3.0 |
A bogus dependency on github.com/kr/pretty was somehow added to go.mod by dependabot in PR 3759 (6fb8f99) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
rebased |
|
@crazy-max good to go? |
|
looks like this was already addressed in the v0.11 branch, so removing the cherry-pick label |

A bogus dependency on github.com/kr/pretty was somehow added to go.mod by dependabot in PR #3759 (6fb8f99)