-
Notifications
You must be signed in to change notification settings - Fork 2k
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
build: upgrade to go1.22 #20066
build: upgrade to go1.22 #20066
Conversation
for compatability with go1.22
Fixed Also needed to update
|
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
(manual cherry-pick of 55b0795) * build: upgrade to go1.22 * add cl * build: use codecgen from go-msgpack v1.1.5+base32 and stringer 0.18.0 for compatability with go1.22 * ci: update golangci-lint to 1.56.2 * build: update hclogvet for go1.22 * build: bump to go1.22.1
(manual cherry-pick of 55b0795) * build: upgrade to go1.22 * add cl * build: use codecgen from go-msgpack v1.1.5+base32 and stringer 0.18.0 for compatability with go1.22 * ci: update golangci-lint to 1.56.2 * build: update hclogvet for go1.22 * build: bump to go1.22.1 Co-authored-by: Seth Hoenig <shoenig@duck.com>
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
oof, there's some
go-msgpack
problems withgo1.22
It appears
NewEncoding
no longer allows duplicate characters in the alphabet you supply.https://go-review.googlesource.com/c/go/+/520335
However go-msgpack (and upstream ugorji) use two underscores in the msgpack alphabet.
https://github.com/hashicorp/go-msgpack/blob/v2.1.1/codec/gen.go#L135