Skip to content

chore(deps): Bulk update Go dependencies - #42

Draft
aaljewarane wants to merge 1 commit into
aws:mainfrom
aaljewarane:chore/bulk-dep-update
Draft

chore(deps): Bulk update Go dependencies#42
aaljewarane wants to merge 1 commit into
aws:mainfrom
aaljewarane:chore/bulk-dep-update

Conversation

@aaljewarane

Copy link
Copy Markdown
Contributor

Description

Bulk update of Go dependencies, superseding the stale open Dependabot PRs.

Dependency From To
github.com/sirupsen/logrus v1.9.3 v1.10.1
github.com/spf13/cobra v1.10.1 v1.10.2
github.com/stretchr/testify v1.11.1 v1.12.1
golang.org/x/tools v0.38.0 v0.42.0

Indirect dependencies moved accordingly (x/mod, x/sync, x/sys, x/telemetry, pflag, go-md2man). testify v1.12.x replaces go-spew/go-difflib with go.yaml.in/yaml/v3.

Note on the Go version

The go directive is intentionally left at 1.24.0.

A plain go get -u ./... silently raises it to 1.26.0, because the current golang.org/x/* releases declare go 1.25 or newer. To avoid that, golang.org/x/tools is capped at v0.42.0 — the last release compatible with a go 1.24 directive (v0.43.0+ declare go 1.25). x/tools is only used to run goimports from the Makefile, so holding it back has no effect on shipped code.

This does mean Dependabot will keep proposing x/tools upgrades that cannot be taken until the go directive moves.

Testing

Local, against the upstream main base:

  • go build ./... — pass
  • go vet ./... — pass
  • go test ./... — pass
  • golangci-lint run — 0 issues
  • make -f ci/Makefile --include-dir ci ci-deps ci-build ci-test — pass

Related

Supersedes the open Dependabot PRs for x/tools, logrus, and cobra; those can be closed once this merges.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant