-
Notifications
You must be signed in to change notification settings - Fork 1k
dep not installing certain transitive deps. #931
Comments
Put another way For example, look at the last error from your snippet above:
The package
So this all appears to be working as intended to me, I'd advise using the command If you do want |
thanks for pitching in with the explanation there, @bradleyfalzon 😄 the main point here is that dep does not consider dependencies that are uniquely imported by your dependencies' tests. this is still awkward pre-Go 1.9 (where the problem is fixed, by that issue @bradleyfalzon linked), where this is by design, though - it's not really on you to run your dependencies' tests. |
What version of Go (
go version
) anddep
(git describe --tags
) are you using?Go version: go1.8.3 darwin/amd64
dep version: v0.1.0-313-g44a454b
What
dep
command did you run?In the root directory of this repository
output:
What did you expect to see?
I ran
go test ./...
, and expected the tests to pass.What did you see instead?
It seems like a whole bunch of transitive deps weren't installed. Installing them using
go dep ensure <importpath>
removes that from the list of missing packages, but that's no long term solution.The text was updated successfully, but these errors were encountered: