-
Notifications
You must be signed in to change notification settings - Fork 50
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
JSON tests fail on Go 1.13 #43
Comments
This is a result of this change in Go1.14: https://golang.org/doc/go1.14#encoding/json Unfortunately, Go1.13 is now deprecated with the release of Go1.15. I could be wrong, but I believe we're taking the same approach around deprecation timelines, so (understanding I haven't read the code for this issue) I think it's unlikely to be fixed. Is there something keeping you on Go1.13 in particular? Edit: reading more closely, it seems like this ticket is more about Go1.13 being listed as supported by the Go mod file. Seems reasonable that we should probably bump that if this is our stance. |
The reason the tests failed is because there was a behavior change in The path forward should be to update |
There is no particular reason to use |
Hi @achille-roussel, first I want to say you did an awesome job with this library 💯
According to the go.mod file this package should be compatible with
Go 1.13
, but when I rungo test ./... -v -race
on this version it seems to fail. Should this be correct since we are only testing onGo 1.14
https://github.com/segmentio/encoding/blob/master/.circleci/config.yml#L5?The text was updated successfully, but these errors were encountered: