gossamer icon indicating copy to clipboard operation
gossamer copied to clipboard

Go 1.19 support

Open q9f opened this issue 3 years ago β€’ 3 comments

Hello 😊

Issue summary

  • compiling gossamer should work with the latest go version
  • however, the dependency https://github.com/lucas-clemente/quic-go does not support 1.19 yet
~/.opt/ChainSafe/gossamer development 12s
❯ go version
go version go1.19 linux/amd64

Other information and links

# github.com/lucas-clemente/quic-go/internal/qtls
../../../.go/pkg/mod/github.com/lucas-clemente/[email protected]/internal/qtls/go119.go:6:13: cannot use "The version of quic-go you're using can't be built on Go 1.19 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.19 yet. F...) as int value in variable declaration
make: *** [Makefile:73: build] Error 2

How are you managing go versions usually?

q9f avatar Aug 22 '22 13:08 q9f

Just noticed #2719

Wondering if bumping quic to 0.28 would address this?

q9f avatar Aug 22 '22 14:08 q9f

This is blocked by a bunch of dependency upgrade regarding libp2p libraries, and substantial manual work. Definitely to do for the fun of it, but definitely not a priority either. I have a local branch with a few changes (regarding deps upgrade, not Go 1.19 yet), I'll probably finish it in my 'friday evening refactoring fun' πŸ˜‰

qdm12 avatar Aug 22 '22 18:08 qdm12

Blocked by https://github.com/libp2p/go-libp2p-kad-dht/issues/790

qdm12 avatar Aug 29 '22 13:08 qdm12

:tada: This issue has been resolved in version 0.8.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Dec 11 '23 22:12 github-actions[bot]