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 quic-go to v0.37.0, bump to Go 1.20 minimum #5644

Merged
merged 7 commits into from
Jul 22, 2023

Conversation

marten-seemann
Copy link
Contributor

@marten-seemann
Copy link
Contributor Author

As far as I can tell, CI is failing because it's still using Go 1.19 for a number of jobs. quic-go v0.37.0 only support Go 1.20 and 1.21.

@mholt
Copy link
Member

mholt commented Jul 21, 2023

We typically ensure support for the previous major Go release for packaging purposes. But I'm 100% OK with upgrading to Go 1.20 now (Go 1.21 is in RC phase) especially given the benefits of this upgrade. Thanks for your great work on this!! Exciting times.

Thanks for the PR! :)

PS. I am subscribed to new releases on your repo too, you always just beat me to it 😄

@mholt
Copy link
Member

mholt commented Jul 21, 2023

Made Go 1.20 required instead of Go 1.19, but the CI tests are still the same after re-running. I'll try closing and re-opening the PR...

@mholt mholt closed this Jul 21, 2023
@mholt mholt reopened this Jul 21, 2023
@francislavoie francislavoie added the dependencies ⛓️ Pull requests that update a dependency file label Jul 21, 2023
@francislavoie
Copy link
Member

I pushed a commit to bump the minimum to Go 1.20.

@mholt
Copy link
Member

mholt commented Jul 21, 2023

Hang on, now the linter's drunk. Re-running

@francislavoie
Copy link
Member

Linter wasn't working because we were on an older golangci-lint version which didn't support 1.20.

@francislavoie
Copy link
Member

Welp. It's still not working and I don't know why 😭

I have to go afk to do something else but I'll try again later.

@mholt
Copy link
Member

mholt commented Jul 21, 2023

I wonder if we could get away with not changing the CI at all? Even if the 1.19 tests fail we could still merge this now that 1.19 is no longer required to succeed.

@marten-seemann
Copy link
Contributor Author

None of my business, but why keep 1.19 now that’s it’s guaranteed to fail?

@francislavoie
Copy link
Member

We're not 🤔 where are you seeing that

@francislavoie francislavoie changed the title update quic-go to v0.37.0 Update quic-go to v0.37.0, bump to Go 1.20 minimum Jul 21, 2023
@francislavoie
Copy link
Member

francislavoie commented Jul 21, 2023

Okay, this should be good to go now 👍

I had to remove weakrand.Seed(time.Now().UnixNano()) because since https://golang.org/doc/go1.20#math/rand, it's already globally seeded by default. Nice and simple!

@marten-seemann
Copy link
Contributor Author

I was just replying to @mholt’s comment:

I wonder if we could get away with not changing the CI at all? Even if the 1.19 tests fail we could still merge this now that 1.19 is no longer required to succeed.

@francislavoie francislavoie requested a review from mholt July 22, 2023 00:35
@mholt
Copy link
Member

mholt commented Jul 22, 2023

Awesome, thanks for the CI fixes Francis!

Re: my comment -- I was just suggesting a quick-and-dirty way to get this mergeable. But I appreciate the effort to fix the problem with CI instead 😊

We got approval from the RHEL maintainer Carl to go ahead and bump up to Go 1.20 a little early.

Thank you everyone!

@mholt mholt merged commit f45a6de into caddyserver:master Jul 22, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ⛓️ Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants