Skip to content

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.

@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 <rodrigoca@microsoft.com>
@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
@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