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

Update Go versions #447

Merged
merged 1 commit into from Feb 24, 2023
Merged

Update Go versions #447

merged 1 commit into from Feb 24, 2023

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented Feb 20, 2023

  • Add Go 1.20.
  • Set minimum Go version to 1.18.
  • Bump golang.org/x/net.

@SuperQ SuperQ force-pushed the superq/bump_go branch 2 times, most recently from 5fc0b0f to 65d8915 Compare February 20, 2023 10:16
@roidelapluie
Copy link
Member

roidelapluie commented Feb 21, 2023

client_golang depends on this ; have they / will they also bump the go version requirement?

@SuperQ
Copy link
Member Author

SuperQ commented Feb 21, 2023

Added client_golang maintainers to this.

@beorn7
Copy link
Member

beorn7 commented Feb 21, 2023

IIRC we are usually trying to support the last three Go minor releases. From that perspective, Go1.19 would be fine once Go1.21 is out. But I might misremember, and I'm pretty sure it was always a best-effort thing. (Although it's usually easy with build tags etc. to maintain backwards compatibility even if using more recent Go features.)

@SuperQ
Copy link
Member Author

SuperQ commented Feb 21, 2023

@beorn7 We used to do that, but recently we have been only trying to support only what Go officially supports.

@beorn7
Copy link
Member

beorn7 commented Feb 23, 2023

I guess @bwplotka and @kakkoyun should confirm or deny…

* Add Go 1.20.
* Set minimum Go version to 1.18.
* Bump golang.org/x/net.

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ
Copy link
Member Author

SuperQ commented Feb 23, 2023

Ok, I added Go 1.18 back in.

I still want to get sign-off from both client_golang and prometheus maintainers.

@kakkoyun
Copy link
Member

I won't have access to a computer until Sunday. If it's urgent, leaving the decision to @bwplotka

@bwplotka
Copy link
Member

LGTM, thanks for keeping 1.18 in, not big harm here to keep it IMO.

@roidelapluie roidelapluie merged commit 77ee449 into main Feb 24, 2023
@roidelapluie roidelapluie deleted the superq/bump_go branch February 24, 2023 10:11
@roidelapluie
Copy link
Member

Thanks!

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

LGTM

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.

None yet

5 participants