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

go.mod: Use toolchain 1.22.4 #4407

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

rata
Copy link
Member

@rata rata commented Sep 19, 2024

Go since 1.21 allows to set a "toolchain" that specifies the minimum Go toolchain to use when working in runc. In contrast to the go line, toolchain does not impose a requirement on other modules1.

As documented in the 1.2.0-rc.1 release notes, 1.22.4 is needed for the nsenter package. Let's suggest this with the toolchain version.

go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@rata rata marked this pull request as draft September 20, 2024 18:56
Go since 1.21 allows to set a "toolchain" that specifies the minimum Go
toolchain to use when working in runc. In contrast to the go line,
toolchain does not impose a requirement on other modules[1][2].

As documented in the 1.2.0-rc.1 release notes, 1.22.4 is needed for the
nsenter package. Let's suggest this with the toolchain version.

[1]: https://go.dev/doc/toolchain
[2]: https://go.dev/blog/toolchain

Signed-off-by: Rodrigo Campos <[email protected]>
@rata rata marked this pull request as ready for review September 23, 2024 09:47
@rata
Copy link
Member Author

rata commented Sep 23, 2024

@AkihiroSuda @lifubang PTAL

@AkihiroSuda AkihiroSuda merged commit 5ff9d16 into opencontainers:main Sep 23, 2024
42 checks passed
@rata rata deleted the rata/min-1.22.4 branch September 23, 2024 13:09
@rata rata changed the title go.mod: Force 1.22.4 as min go version go.mod: Use toolchain 1.22.4 Sep 23, 2024
@rata
Copy link
Member Author

rata commented Sep 23, 2024

Updated the PR title and description to match the changes, in case it is useful for the changelog later :)

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.

4 participants