Skip to content

Deprecate go-package field, to no longer install a go toolchain#2446

Draft
xnox wants to merge 1 commit intochainguard-dev:mainfrom
xnox:deprecated-go-package
Draft

Deprecate go-package field, to no longer install a go toolchain#2446
xnox wants to merge 1 commit intochainguard-dev:mainfrom
xnox:deprecated-go-package

Conversation

@xnox
Copy link
Copy Markdown
Member

@xnox xnox commented Mar 30, 2026

If go-package is specified the package will still be installed.

If no go-package is specified, and go-toolchain does not exist in the
environment, none will be installed.

This is a breaking change, as go-1.26 no longer provides the virtual
package go.

Another option is to update the new go-package default to go-1.26; or
to make go-1.26 provide go, like all the previous builds.

If go-package is specified the package will still be installed.

If no go-package is specified, and go-toolchain does not exist in the
environment, none will be installed.

This is a breaking change, as go-1.26 no longer provides the virtual
package go.

Another option is to update the new go-package default to go-1.26; or
to make go-1.26 provide go, like all the previous builds.
@xnox xnox marked this pull request as draft March 30, 2026 16:05
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.

1 participant