Skip to content
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

Adjust go.mod values for go/toolchain #506

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

mallardduck
Copy link
Member

@mallardduck mallardduck commented Jan 13, 2025

When updating BRO for 1.32, I found that the current config caused the CI to be brittle as it required a specific GO 1.23 release. Specifically the error I was encountering is:

go.mod requires go >= 1.23.3 (running go 1.23.2; GOTOOLCHAIN=local)

This change should allow for 1.23.2 (and older 1.23) to work without errors.

@mallardduck mallardduck requested a review from a team as a code owner January 13, 2025 21:11
@mallardduck mallardduck requested a review from tomleb January 13, 2025 21:11
@tomleb tomleb requested a review from brandond January 13, 2025 21:13
@tomleb
Copy link
Contributor

tomleb commented Jan 13, 2025

@brandond Added you as reviewer since you needed k8s 1.32 support / go 1.23 support earlier. This shouldn't impact you but added you as reviewer just in case. We'll publish another RC after this gets merged.

go 1.23.3
go 1.23.0

toolchain go1.23.4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fine... we're on toolchain 1.23.3 for 1.32 at the moment but I suspect the next upstream release will bump that.

On the distros side we always use the same toolchain version as upstream, for any given patch release of Kubernetes:
https://github.com/kubernetes/kubernetes/blob/v1.32.0/build/dependencies.yaml#L118-L119

@tomleb tomleb merged commit 1fbf9bd into rancher:main Jan 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants