x/website: doc/modules/pruning lacks content #49394
What version of Go are you using (
The text was updated successfully, but these errors were encountered:
What I'm finding confusing in the output is that go1.17 won't upgrade the transitive dependencies, but then complains about the transitive dependency versions. The cli suggestion is to use
I guess my questions is that if
The complete suggestion is to use
It should not “fix the
(It exists in order to facilitate the one-time 1.16-to-1.17 transition for projects that test against all supported Go versions, so it didn't seem worth adding a permanent
However, you can indicate that you really don't care about the transitive requirement using an
exclude gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
Thanks for the clarification @bcmills!
I think this is where I was confused. I thought that specifying
I've come across the same issue and eventually found the content at https://go.dev/ref/mod#graph-pruning. Shouldn't the URL reported in the error message be https://go.dev/ref/mod#graph-pruning instead of https://golang.org/doc/modules/pruning (which redirects to https://go.dev/doc/modules/managing-dependencies)?