-
Notifications
You must be signed in to change notification settings - Fork 102
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
cannot upgrade package to v1.10.0 #120
Comments
Hey @bogcon, thanks for reporting the issue. That said, we understand your problem, so we can try to add back support for 1.16 RE: changing the (Internal ref: GO-1641) |
Hi @abhinav , |
Ack. Looking at the implementation, it's not as straightforward. |
Tag
v1.9.0
has support forgo 1.13
(from go mod file) and inv1.10.0
it was changed togo 1.18
.Isn't this a breaking change?
I want to upgrade dependencies of this project: https://github.com/actforgood/xconf and I get the following error:
go version go version go1.16.4 darwin/amd64 go get -u # go.uber.org/atomic ../../../go/pkg/mod/go.uber.org/atomic@v1.10.0/error.go:55:12: x.v.CompareAndSwap undefined (type Value has no field or method CompareAndSwap) ../../../go/pkg/mod/go.uber.org/atomic@v1.10.0/error.go:61:24: x.v.Swap undefined (type Value has no field or method Swap) ../../../go/pkg/mod/go.uber.org/atomic@v1.10.0/string.go:58:12: x.v.CompareAndSwap undefined (type Value has no field or method CompareAndSwap) ../../../go/pkg/mod/go.uber.org/atomic@v1.10.0/string.go:64:12: x.v.Swap undefined (type Value has no field or method Swap) note: module requires Go 1.18
Methods
Swap
andCompareAndSwap
fromatomic.Value
were introduced in go1.17.Bellow is a
Dockerfile
the issue can be reproduced with.Playing with image tag from top you can see that on 1.16 error is encountered, on 1.18 everything works smoothly.
The text was updated successfully, but these errors were encountered: