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

Docs say that recommended go version for trillian@v1.6.1 is go 1.22, but it appears to require go 1.22.6 #3689

Open
niels-moller opened this issue Nov 21, 2024 · 0 comments

Comments

@niels-moller
Copy link

Hi, I'm looking at the release notes for v1.6.1, and it says recommended go version is 1.22. See https://github.com/google/trillian/releases/tag/v1.6.1

However, if I create a go module with go.mod saying

module local
go 1.22
require github.com/google/trillian v1.6.1

and a source file dummy.go

package local
import _ "github.com/google/trillian"

and run go mod tidy, go mod tidy insists on changing that to go 1.22.6, and if I insists and change back to go 1.22, build fails, "go: updates to go.mod needed; to update it: go mod tidy" (which is go's way of saying that some dependency wants a more recent go version than specified in go.mod).

If the version dependency that rules out plain go 1.22 is intended, it would be nice to say that in release notes. I don't know if it is common for go modules to depend on patch version, but I was a bit surprised that I couldn't update to latest trillian after I finally upgraded the required go version in my project to go 1.22. For now, I'm on trillian@v1.6.0, which seems to work fine in this setting.

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

No branches or pull requests

1 participant