chore(deps): Bulk update Go dependencies - #42
Draft
aaljewarane wants to merge 1 commit into
Draft
Conversation
Update direct dependencies to current releases, superseding the stale open Dependabot pull requests: logrus v1.9.3 -> v1.10.1 cobra v1.10.1 -> v1.10.2 testify v1.11.1 -> v1.12.1 x/tools v0.38.0 -> v0.42.0 x/tools is held at v0.42.0 because v0.43.0 and later declare go 1.25 and would force this module's go directive above 1.24. The go directive is intentionally left unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Bulk update of Go dependencies, superseding the stale open Dependabot PRs.
github.com/sirupsen/logrusgithub.com/spf13/cobragithub.com/stretchr/testifygolang.org/x/toolsIndirect dependencies moved accordingly (
x/mod,x/sync,x/sys,x/telemetry,pflag,go-md2man).testifyv1.12.x replacesgo-spew/go-difflibwithgo.yaml.in/yaml/v3.Note on the Go version
The
godirective is intentionally left at 1.24.0.A plain
go get -u ./...silently raises it to 1.26.0, because the currentgolang.org/x/*releases declarego 1.25or newer. To avoid that,golang.org/x/toolsis capped at v0.42.0 — the last release compatible with ago 1.24directive (v0.43.0+ declarego 1.25).x/toolsis only used to rungoimportsfrom the Makefile, so holding it back has no effect on shipped code.This does mean Dependabot will keep proposing
x/toolsupgrades that cannot be taken until thegodirective moves.Testing
Local, against the upstream
mainbase:go build ./...— passgo vet ./...— passgo test ./...— passgolangci-lint run— 0 issuesmake -f ci/Makefile --include-dir ci ci-deps ci-build ci-test— passRelated
Supersedes the open Dependabot PRs for
x/tools,logrus, andcobra; those can be closed once this merges.