x/vgo: generated go.mod does not use the latest version of a subdependency #26030
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
changed the title
x/vgo: It does not download the latest version of a subdependency
Jun 28, 2018
Quite a lot, it's to make microservice and they are all relative to go-kit librairies except the ones of my project packages. Note that it was working well with the old way inside a "$GOPATH/src/...". Do you want me to list them all?
About build constraints I have none in my project. And I hope all the go-kit librairies don't have them either... Should I check all source code of these imported librairies?
I don't exactly remember the order of the commands I executed 4 days ago so I just retried by:
I checked my "mod" directory where all dependencies have been download I can saw this one:
Which is still in v1.0.0 instead of the v1.0.1 released on the repository. So I'm still thinking it could be a issue in vgo since none of the libraries are forcing "golang_protobuf_extensions" to v1.0.0.
Tell me if you need more information, and thank you for helping me
I tried to reproduce the issue starting with importing
I wonder whether https://golang.org/cl/120999 fixed the underlying bug. Could you try building
@bcmills yeah it works well with the new version! Thank you so much!
Note that when my CI/CD tool try to run
It happens directly on the first dependency that vgo tries to download. Maybe you're still working on that?