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
cmd/go: can not modify the go mod library version #39425
Comments
What does Go's version selection uses semantic-versioning precedence, and |
Hi, Here is my
|
It looks like your main dependency on |
For a long-term fix, consider adding a report of your experience to kubernetes/client-go#749. Ultimately, it's up to the Kubernetes folks to decide whether or how to update their versioning strategy to bring the tagged versions in line with semantic versioning. (I don't see any plausible way that the |
Thanks for mentioning that issue, I'm gonna use |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Here is the github link of my program:
https://github.com/cplayer/knative.flow/tree/master/client
I want to use k8s.io/client-go@v0.18.3 as my client-go library.
After I modify the client-go version in go.mod, I run "go build main.go", the version of client-go will be replaced by v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible, which is definitely not a right version.
What did you expect to see?
The program should use v0.18.3 as the client-go library version.
What did you see instead?
The program use the old version(which only supported k8s 1.10) as the client-go library version.
The text was updated successfully, but these errors were encountered: