You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a go.mod with one of these entries: require github.com/shirou/gopsutil v2.19.8+incompatible (Released Sep 1) require github.com/shirou/gopsutil v2.19.7+incompatible (Released Jul 31)
v2.19.6 does work, and has no changes to the project's structure (i.e., still has no v2 subdirectory): require github.com/shirou/gopsutil v2.19.6+incompatible (Released Jun 27)
The text was updated successfully, but these errors were encountered:
This is new validation in 1.13; see "Version validation" in https://golang.org/doc/go1.13 for details. v2.19.6+incompatible is present because it was added before sum.golang.org was upgraded to 1.13.
Closing, since everything here is working correctly. gopsutil will need to add the necessary /v2 suffix to its go.mod and use non-+incompatible versions, or remove its go.mod entirely.
Note, dependency has to be pinned to a specific release version
commit hashes since it doesn't follow Go module v2+ guidelines.
see:
shirou/gopsutil#663golang/go#34402
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Write a go.mod with one of these entries:
require github.com/shirou/gopsutil v2.19.8+incompatible
(Released Sep 1)require github.com/shirou/gopsutil v2.19.7+incompatible
(Released Jul 31)What did you expect to see?
go: finding github.com/shirou/gopsutil v2.19.8+incompatible
What did you see instead?
verifying github.com/shirou/gopsutil@v2.19.8+incompatible/go.mod: github.com/shirou/gopsutil@v2.19.8+incompatible/go.mod: reading https://sum.golang.org/lookup/github.com/shirou/gopsutil@v2.19.8+incompatible: 410 Gone
Additional Information
v2.19.6
does work, and has no changes to the project's structure (i.e., still has nov2
subdirectory):require github.com/shirou/gopsutil v2.19.6+incompatible
(Released Jun 27)The text was updated successfully, but these errors were encountered: