-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: "go get ...@master" fails when "go install" succeeds #41227
Comments
The go command is working as intended as far as I can tell. Doing
Constraints in go.mod declare the minimum acceptable version, but a higher version may be selected by the minimum version selection algorithm. There is more detail at https://golang.org/ref/mod#minimal-version-selection. Also see #40784 (comment). |
AIUI this is true for When I say "constrained" this is roughly the state of the pertinent constraints in
|
Ah, that is true. I mistakenly thought you were talking about The |
I was specifically running it up a directory ( |
This is working as designed, but the design is admittedly awkward. We're working on this in #40276. The behavior of
When We're planning to add new functionality to Notably, |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Not sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected things to pass and use
k8s.io/[email protected]
as constrained ingo.mod
What did you see instead?
Some additional details:
go install
ing at the exact commit pulled bygo get
WORKSThe text was updated successfully, but these errors were encountered: