-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go-client 5.0.1 does not build with dep
#318
Comments
dep doesn't parse the Godeps.json file that pins the exact dependency version. I recommend using glide at the moment. https://github.com/kubernetes/client-go/blob/master/INSTALL.md#glide |
It seems dep does supports parsing Godeps.json now: https://github.com/golang/dep/blob/master/docs/FAQ.md#what-external-tools-are-supported. We also have other issues: golang/dep#1124 Updated the INSTALL.md to state the problem with |
Thanks! I've switched to glide, and I got a successful build. Thanks for the help, and for updating the documentation on |
I believe due to recent mutations in k8s.io/apimachinery, specifically kubernetes/apimachinery@158150c .
To reproduce:
dep init
. Note in the output that it correctly locks go-client to ^5.0.1.go install .
The compile will fail with:
bug-repro/vendor/k8s.io/client-go/tools/cache
vendor/k8s.io/client-go/tools/cache/mutation_detector.go:103:33: scheme.Scheme.Copy undefined (type *"bug-repro/vendor/k8s.io/apimachinery/pkg/runtime".Scheme has no field or method Copy)
The text was updated successfully, but these errors were encountered: