cmd/go: module operations fail to update go.mod when applying exclude directives #36453
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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?
What did you expect to see?
success
What did you see instead?
If the
exclude
line is deleted from go.mod then it works as expected, using the locally cached modules instead of downloading, I verified this using strace. Notably it does seem to be using the excluded v0.1.1 version of objx, while with the exclude line it uses v0.2.0 (both exist in ~/go/pkg/mod/).I sometimes work without a network connection and this is stopping me from compiling my program at those times.
The text was updated successfully, but these errors were encountered: