Skip to content

chore(deps): bump misc vendored deps (env, go-colorful, pkg/profile, kcp-go/v5, cron/v3) - #52

Open
moralpriest wants to merge 1 commit into
DEROFDN:community-devfrom
moralpriest:chore/deps/misc-deps-v1.2.0-v5.5.0
Open

chore(deps): bump misc vendored deps (env, go-colorful, pkg/profile, kcp-go/v5, cron/v3)#52
moralpriest wants to merge 1 commit into
DEROFDN:community-devfrom
moralpriest:chore/deps/misc-deps-v1.2.0-v5.5.0

Conversation

@moralpriest

Copy link
Copy Markdown

Summary

Final batch of go<=1.17 vendored-dependency bumps (prep for eventual Go toolchain bump). All target go <= 1.17 — clean standalone PR.

dependency new version go
github.com/caarlos0/env/v6 v6.10.0 1.17
github.com/lucasb-eyer/go-colorful v1.2.0 1.12
github.com/pkg/profile v1.7.0 1.13
github.com/xtaci/kcp-go/v5 v5.5.0 1.13
github.com/robfig/cron/v3 v3.0.1 1.12
  • kcp-go/v5 is used by p2p/controller.go and metrics/metrics.go (daemon P2P transport); its transitive deps were already vendored and remain compatible.
  • go-colorful v1.2.0 adds the hsluv package.
  • cron/v3 v3.0.1 carries chain/parser bug fixes.

Verification

  • go build ./... green.
  • go test ./...: importers pass. Only pre-existing flaky walletapi failures (Test_Payload_TX, Test_Creation_TX_morecheck) — confirmed to fail identically on a clean community-dev worktree, so not a regression.

Status of the go<=1.17 dependency-bump effort

With this PR, every vendored dependency that has a release compatible with go 1.17 has been bumped to its latest such version. Remaining items are intentionally deferred to the eventual go-directive bump phase:

  • cespare/xxhash — consensus-critical (AstroBWTv3 PoW); v2.3.0 rewrites asm paths, needs full re-validation.
  • tjfoc/gmsm — not imported by DERO (0 uses).
  • blang/semver/v4, go.uber.org/atomic — already at latest go<=1.17 (no-ops).
  • go-logr/zapr — requires logr v1.2.4 (PR chore(deps): bump go-logr/logr to v1.2.4 #46) which must land first.
  • go 1.18+ deps (zapr v1.3.0, uint256 v1.2.2, etc.) — only clean after the go directive moves up.

Vendored dependency bumps (prep for eventual Go toolchain bump). All
target go <= 1.17.

- github.com/caarlos0/env/v6: v6.10.0 (go 1.17)
- github.com/lucasb-eyer/go-colorful: v1.2.0 (go 1.12, adds hsluv)
- github.com/pkg/profile: v1.7.0 (go 1.13)
- github.com/xtaci/kcp-go/v5: v5.5.0 (go 1.13) — used by p2p + metrics
- github.com/robfig/cron/v3: v3.0.1 (go 1.12, chain/parser fixes)

Verification:
- go build ./... green (kcp-go/v5 deps already vendored & compatible).
- go test ./...: importers pass. Only pre-existing flaky walletapi
  failures (Test_Payload_TX, Test_Creation_TX_morecheck) — confirmed to
  fail identically on clean community-dev worktree.

@8lecramm 8lecramm left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.com/xtaci/kcp-go/v5 was updated to 5.6.X during a previous pull request.
Could you please update the PR?

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.

2 participants