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,.github: upgrade to Go 1.21 #2980

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Oct 5, 2023

There's an effort underway to upgrade to Go 1.21 before shipping 23.2. Begin testing 1.21 in Pebble CI, and declare Go 1.21 in the go.mod file.

Informs cockroachdb/cockroach#97260.

@jbowens jbowens requested review from a team and RaduBerinde October 5, 2023 21:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

There's an effort underway to upgrade to Go 1.21 before shipping 23.2. Begin
testing 1.21 in Pebble CI, and declare Go 1.21 in the go.mod file.

Informs cockroachdb/cockroach#97260.
Copy link
Contributor

@nicktrav nicktrav left a comment

Choose a reason for hiding this comment

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

Nice. LGTM.

@nicktrav
Copy link
Contributor

nicktrav commented Oct 5, 2023

1.21.2 is available. Does this patch pin to .0, or is it more flexible?

Edit: ignore my lazyweb question. I looked at the CI run, and it looks like it's smart enough to pick up the latest. Admittedly, GH only has .1 available, given .2 was only released today.

@jbowens
Copy link
Collaborator Author

jbowens commented Oct 5, 2023

TFTR!

@jbowens jbowens merged commit 860605c into cockroachdb:master Oct 5, 2023
11 checks passed
@jbowens jbowens deleted the go1.21 branch October 5, 2023 21:52
@RaduBerinde
Copy link
Member

Since resyncing my master, GoLand keeps making this change to my go.mod in the cockroach repo:

-go 1.20
+go 1.21
+
+toolchain go1.21.1

My guess is that it has to do with this change - cockroach now depends on this library at a sha which is marked as requiring go 1.21. I expect many people will run into this.

@RaduBerinde
Copy link
Member

Opened #2987

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