Skip to content

Remove Go 1.20 from build, force building Go >= 1.21 in go.mod#5690

Merged
derekcollison merged 2 commits intomainfrom
go-mod-fix
Jul 23, 2024
Merged

Remove Go 1.20 from build, force building Go >= 1.21 in go.mod#5690
derekcollison merged 2 commits intomainfrom
go-mod-fix

Conversation

@wallyqs
Copy link
Copy Markdown
Member

@wallyqs wallyqs commented Jul 23, 2024

Follow up #5636

According to https://go.dev/issues/62278 a concrete go version has to include
the patch number. The project declares the version as 1.21 which is invalid and
will result in an error:

	GOTOOLCHAIN="go1.20+auto" go1.21.5 mod tidy
	go: downloading go1.21 (linux/amd64)
	go: download go1.21 for linux/amd64: toolchain not available

Changed to 1.21.0 as this is the first actual release of go 1.21.

Signed-off-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
@wallyqs wallyqs requested a review from a team as a code owner July 23, 2024 17:51
@wallyqs wallyqs requested a review from neilalexander July 23, 2024 17:57
Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Waldemar Quevedo <wally@nats.io>
@derekcollison derekcollison merged commit 6f64748 into main Jul 23, 2024
@derekcollison derekcollison deleted the go-mod-fix branch July 23, 2024 19:35
bruth added a commit that referenced this pull request Jul 30, 2024
Includes the following:

* #5602
* #5672
* #5668
* #5607
* #5687
* #5695
* #5697
* #5704
* #5706
* #5709
* #5710
* #5713
* #5719

Some PRs specifically excluded:

* #5707 — based on a 2.11 NRG
PR
* #5690 — continue to allow
Go 1.20 for 2.10.x
* Various other NRG PRs which are higher risk and destined for 2.11
instead
neilalexander added a commit that referenced this pull request Aug 6, 2024
Includes the following:

- #5690
- #5725
- #5729
- #5734
- #5735
- #5736
- #5743
- #5744
- #5751
- #5755
- #5754
- #5732
- #5750
- #5756

The following were reverted before this PR:
- #5602

Signed-off-by: Neil Twigg <neil@nats.io>
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