-
Notifications
You must be signed in to change notification settings - Fork 271
build: Bump go version to 1.23.0 #1099
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
Conversation
golang has decided to come up with an automation[1] to update `go` directive in go.mod from various repositories including x/repos following the release cadence in general. Another interesting and visible change is to explicitly specify the minor version as a suffix to the major version. Thus we are bound to update our `go` directive as we require at least x/sys. [1] golang/go#69095 Signed-off-by: Anoop C S <[email protected]>
I find the need for this a bit unpleasant, but if it's necessary I'm OK with it. @ansiwen what do you think? |
Well, I don’t think we have a choice. If the libraries that we are using require a higher Go version, we have to move with them. The only alternative would be to not bump the libraries to the latest versions, which is certainly worse, because then we need to manually review if there are security fixes or significant improvements. And since we also always said before, that we also would use features of Go 1.N-1 if useful it‘s not really limiting. We just have to do it no matter if we use the features or not. The x/repos team says, they were aware of the implications on the community here: golang/go#69095 (comment) |
We might also automate this then, FWIW. |
Following the discussion from #1085 (comment)
Given that it is infectious, and core libraries are bumping to 1.N-1 automatically, that effectively means, that the |
I guess the question is (for me): do we bump the go line or just accept a toolchain line? I will read up some more on this and give feedback today or early next week. |
Now that you mentioned it, |
We don‘t have that choice because
So, if we have a require for an x/repo, we have to move the |
sigh OK, we'll just have to live with it then I guess. |
golang has decided to come up with an automation to update
go
directive in go.mod from various repositories including x/repos following the release cadence in general. Another interesting and visible change is to explicitly specify the minor version as a suffix to the major version. Thus we are bound to update ourgo
directive as we require at least x/sys.