gotestyourself / gotestsum

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
Apache License 2.0
1.99k stars 118 forks source link

Latest dependabot update raises module requirement to Go 1.19 #409

Open willnode opened 1 month ago

willnode commented 1 month ago
go install gotest.tools/gotestsum@latest
go: downloading gotest.tools v2.2.0+incompatible
go: downloading gotest.tools/gotestsum v1.12.0
go: downloading github.com/dnephin/pflag v1.0.7
go: downloading github.com/fatih/color v1.16.0
go: downloading github.com/google/shlex v0.0.0-201912021004[58]()-e7afc7fbc510
go: downloading golang.org/x/tools v0.19.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading golang.org/x/sys v0.18.0
go: downloading github.com/bitfield/gotestdox v0.2.2
go: downloading golang.org/x/sync v0.6.0
go: downloading golang.org/x/term v0.18.0
go: downloading golang.org/x/text v0.14.0
go: downloading golang.org/x/mod v0.16.0
# golang.org/x/tools/internal/typesinternal
/go/pkg/mod/golang.org/x/tools@v0.19.0/internal/typesinternal/types_118.go:13:7: conf.GoVersion undefined (type *types.Config has no field or method GoVersion)
note: module requires Go 1.19
# golang.org/x/tools/internal/event/keys
/go/pkg/mod/golang.org/x/tools@v0.19.0/internal/event/keys/util.go:14:6: missing function body
/go/pkg/mod/golang.org/x/tools@v0.19.0/internal/event/keys/util.go:14:10: syntax error: unexpected [, expecting (
note: module requires Go 1.19
# golang.org/x/tools/internal/versions
/go/pkg/mod/golang.org/x/tools@v0.19.0/internal/versions/types.go:15:16: undefined: any
/go/pkg/mod/golang.org/x/tools@v0.19.0/internal/versions/versions.go:52:12: undefined: strings.Cut
note: module requires Go 1.19

We use Go 1.17 at this time at our CI and today this pops up.

gungdr commented 1 month ago

can confirm