-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Upgrade quic-go to v0.26.0 to support building with Go 1.18 #8819
Comments
As a temporary workaround, one may want to upgrade the dependency himself: go get github.com/lucas-clemente/quic-go@v0.26.0
|
Thanks for the tip. I was worried about messing things up by doing that upgrade, since the libraries using quic-go weren't written with this latest version in mind. For now I just switched back to Go 1.17. |
This will likely not happen until #8680 has landed. |
We'll be releasing go-libp2p v0.19.0 very soon (tracking issue: libp2p/go-libp2p#1298), which will include a newer version of quic-go that builds with Go 1.18. |
@marten-seemann Any ETA on when that'll land? |
Would be nice if this could be split off and just this fix could be added as there seems to be no downside to using the newer QUIC version (as explained in a previous comment by @dvergeylen), or is there? |
It should work at the moment go-ipfs version: 0.13.0-dev-63b002566
Repo version: 12
System version: amd64/linux
Golang version: go1.18.1 |
- manually update `quic-go` library until ipfs/kubo#8819 is resolved. - remove already defined vars Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This is waiting for go-libp2p 0.19 (to include libp2p/go-libp2p-quic-transport#264 (review)) |
go-libp2p currently is at v0.19.1, can this move ahead please? |
The version of quic-go is now at 0.27.0 and CI is building with Go 1.18.1. |
- remove workaround for `quick-go` after merger of ipfs/kubo#8819 Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
Checklist
Installation method
built from source
Version
I am using IPFS (v0.12.0) as a library, but the problem remains when building the latest commit or release from source.
Config
Not relevant to the issue.
Description
When building go-ipfs, I get this error:
This is because I'm building with Go 1.18, and v0.24.0 of quic-go doesn't support Go 1.18. v0.26.0, released yesterday, now supports Go 1.18. It would be great if go-ipfs could upgrade this dependency to support the latest Go version.
I understand quic-go is not a direct dependency of go-ipfs, so feel free to transfer the issue. I just wanted to file it here since my problem is when trying to build go-ipfs.
The text was updated successfully, but these errors were encountered: