-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: go1.22 toolchain not available #65631
Comments
FiloSottile
changed the title
import/path: issue title
cmd/go: go1.22 toolchain not available
Feb 9, 2024
Duplicate of #62278 see in particular #62278 (comment) |
the provided solutions haven't worked for me. Besides that, I'm in my terminal, outside a go project and outside VSCode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go version
go version go1.21.5 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Updated my go.mod
go
line togo1.22
and rango test
.What did you see happen?
What did you expect to see?
Go 1.22.0 being downloaded.
I know go1.22 is not a toolchain now that we renamed that to go1.22.0, but when I set the
go
line I am not thinking primarily of toolchain versions, but of the Go 1.22 semantics, and I am happy for the latest version of Go 1.22 to be downloaded.Looks like there's been a lot of confusion around this in the past dependabot/dependabot-core#7895 and some projects disabled auto toolchains to support go.mod files with "short"
go
versions.If the behavior shouldn't be changed, at least the error can be more useful, suggesting changing the
go
line to include a patch version.The text was updated successfully, but these errors were encountered: