-
Notifications
You must be signed in to change notification settings - Fork 40k
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
[1.31] .*: change go.mod to go1.23.0 and set godebug defaults to go1.22 #129551
base: release-1.31
Are you sure you want to change the base?
[1.31] .*: change go.mod to go1.23.0 and set godebug defaults to go1.22 #129551
Conversation
This cherry pick PR is for a release branch and has not yet been approved by Release Managers. To merge this cherry pick, it must first be approved ( If you didn't cherry-pick this change to all supported release branches, please leave a comment describing why other cherry-picks are not needed to speed up the review process. If you're not sure is it required to cherry-pick this change to all supported release branches, please consult the cherry-pick guidelines document. AFTER it has been approved by code owners, please leave the following comment on a line by itself, with no leading whitespace: /cc kubernetes/release-managers (This command will request a cherry pick review from Release Managers and should work for all GitHub users, whether they are members of the Kubernetes GitHub organization or not.) For details on the patch release process and schedule, see the Patch Releases page. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
go.mod
Outdated
@@ -256,3 +256,5 @@ replace ( | |||
k8s.io/sample-cli-plugin => ./staging/src/k8s.io/sample-cli-plugin | |||
k8s.io/sample-controller => ./staging/src/k8s.io/sample-controller | |||
) | |||
|
|||
godebug default=go1.22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this up to be by the go directive, and I bet we'll have to bump the go directive to go 1.23.0
for this to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trying it out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the go-compatibility CI failures are expected for now, will need to run hack/update-vendor.sh
to update vendor.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will also need to update build/dependencies.yaml to the new go version since this PR is doing all the updates at once
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it okay to update dependencies.yaml without making rest of the runner changes? I'm not too familiar with this part sorry
xref #127118
I've update it in the latest commit, but I'm guessing to change things like the kube-cross image, we will need to build it for the new go1.23.4 minor?
/remove-sig api-machinery |
Kubernetes 1.31 was first released with go1.22.x. Set compatibility defaults to that version. Signed-off-by: Madhav Jivrajani <[email protected]>
Signed-off-by: Madhav Jivrajani <[email protected]>
b1b6f3d
to
9ebb769
Compare
Signed-off-by: Madhav Jivrajani <[email protected]>
Signed-off-by: Madhav Jivrajani <[email protected]>
9ebb769
to
6cc4794
Compare
@MadhavJivrajani: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Kubernetes 1.31 was first released with go1.22.x.
Set compatibility defaults to that version.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Partial pick of #127271
Needed to bump release branches to go1.23
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: