Closed kernfeld-cockroach closed 3 years ago
A correction: go mod tidy
actually does work in go ≥ 1.15.10.
@knz hypothesizes that this is related to https://github.com/golang/go/issues/46143
Given that CI is happy with go 1.13 to 1.16, I'm going to close this issue.
Given that CI is happy with go 1.13 to 1.16, I'm going to close this issue.
Are you saying that it's not important that users of this library be able to successfully run go mod tidy
or go mod vendor
? I find that counterintuitive because we often use those commands at Cockroach.
CI runs successfully with go 1.15.13. I am not too concerned with compatibility with 1.15.9 and prior if 1.15.13 works.
When one uses go < 1.15.10 to run
go mod tidy
,go mod vendor
, and possible othergo mod *
commands in errors or any project that transitively depends on errors, one encounters a failure of the form:The following snippet from the Go Modules Reference might explain this behavior: