-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
package github.com/googleapis/gnostic/OpenAPIv2: cannot find package #16116
Comments
it's breaking due to the change made in google/gnostic#155 . until this is fixed in client pin your go client to "k8s.io/client-go v0.17.0" in your go-mod. |
I have same problem , Thank you!~
|
Not a problem. I think the initial reason is that (mistakenly) running a ‘go get -u’ on your module that includes it forces an upgrade which moves gnostic to the incompatible version. IMO it would be good to update our dependency as a nice to have but that’s up to the kubernetes team to decide whether it’s worth it. 🙂
… On 12 Feb 2020, at 19:42, StarCoral ***@***.***> wrote:
I have same problem ,
and I tried the way from @boyan-soubachov google/gnostic#155
use the command go get ***@***.*** , and it can be solved.
Thank you!~
it's breaking due to the change made in google/gnostic#155 . until this is fixed in client pin your go client to "k8s.io/client-go v0.17.0" in your go-mod.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
We are also having this issue when building Since this is a breaking change with very wide surface, is it safe to assume the fix will be back ported to those |
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
See kubernetes/test-infra#16116 for reference
Also doesn't work with v0.4 |
Hi, this is the wrong repo to discuss how Kubernetes handles dependencies. 1.14 is not supported by open source and hasn't been. In fact 1.16 just wrapped up. This repo is not go getabble unfortunately. You need to clone the repo and build locally so the replace statements are respected. |
Here is a workaround that could help, especially if you are using Kubernetes 1.14 : kubernetes/client-go#741 (comment) |
What happened:
package github.com/googleapis/gnostic/OpenAPIv2: cannot find package "github.com/googleapis/gnostic/OpenAPIv2" in any of:
/usr/local/go/src/github.com/googleapis/gnostic/OpenAPIv2 (from $GOROOT)
/home/zc/go/src/github.com/googleapis/gnostic/OpenAPIv2 (from $GOPATH)
What you expected to happen:
install
How to reproduce it (as minimally and precisely as possible):
go get -u k8s.io/test-infra/prow/cmd/tackle && tackle
Please provide links to example occurrences, if any:
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: