Skip to content
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

module declares its path as: github.com/google/gnostic but was required as: github.com/googleapis/gnostic #34

Open
devsecfranklin opened this issue Jan 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@devsecfranklin
Copy link
Collaborator

Here is a description of the problem with the naming of the gnostic module

From the top level:

~/w/peirates (dev34-20230101±) ▶ go get -t -u ./...
go get: github.com/googleapis/[email protected] updating to
        github.com/googleapis/[email protected]: parsing go.mod:
        module declares its path as: github.com/google/gnostic
                but was required as: github.com/googleapis/gnostic
@devsecfranklin
Copy link
Collaborator Author

~/w/peirates (dev34-20230101±) ▶ go get -u ./...
go: downloading github.com/aws/aws-sdk-go v1.44.171
go: downloading golang.org/x/crypto v0.4.0
go: downloading k8s.io/kubectl v0.26.0
go: downloading github.com/tidwall/pretty v1.2.1
go: downloading github.com/spf13/cobra v1.6.1
go: downloading k8s.io/client-go v1.5.2
go: downloading k8s.io/cli-runtime v0.26.0
go: downloading k8s.io/client-go v0.26.0
go: downloading k8s.io/klog/v2 v2.80.1
go: downloading k8s.io/component-base v0.26.0
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/imdario/mergo v0.3.13
go: downloading golang.org/x/term v0.3.0
go: downloading k8s.io/apimachinery v0.26.0
go: downloading github.com/evanphx/json-patch v0.5.2
go: downloading github.com/evanphx/json-patch v5.6.0+incompatible
go: downloading github.com/go-logr/logr v1.2.3
go: downloading golang.org/x/net v0.4.0
go: downloading k8s.io/api v0.26.0
go: downloading github.com/daviddengcn/go-colortext v1.0.0
go: downloading github.com/jonboulle/clockwork v0.3.0
go: downloading k8s.io/kube-openapi v0.0.0-20221207184640-f3cff1453715
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading k8s.io/utils v0.0.0-20221128185143-99ec85e7a448
go: downloading k8s.io/component-helpers v0.26.0
go: downloading github.com/moby/term v0.0.0-20221205130635-1aeaba878587
go: downloading github.com/docker/distribution v2.8.1+incompatible
go: downloading github.com/fvbommel/sortorder v1.0.2
go: downloading sigs.k8s.io/kustomize v1.0.11
go: downloading sigs.k8s.io/kustomize/kustomize/v4 v4.5.7
go: downloading sigs.k8s.io/kustomize/kyaml v0.13.10
go: downloading sigs.k8s.io/structured-merge-diff v1.0.2
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3
go: downloading github.com/MakeNowJust/heredoc v1.0.0
go: downloading github.com/chai2010/gettext-go v1.0.2
go: downloading k8s.io/metrics v0.26.0
go: downloading github.com/google/gofuzz v1.2.0
go: downloading github.com/googleapis/gnostic v0.6.9
go: downloading golang.org/x/text v0.5.0
go: downloading sigs.k8s.io/kustomize/api v0.12.1
go: downloading golang.org/x/oauth2 v0.3.0
go: downloading github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
go: downloading sigs.k8s.io/kustomize/kustomize v0.0.0-20191024000301-ce7ebe3299dd
go: downloading golang.org/x/time v0.3.0
go: downloading github.com/google/go-cmp v0.5.9
go: downloading github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f
go: downloading github.com/json-iterator/go v1.1.12
go: downloading google.golang.org/protobuf v1.28.1
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/go-openapi/jsonreference v0.20.0
go: downloading github.com/go-openapi/swag v0.22.3
go: downloading github.com/PuerkitoBio/purell v1.2.0
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/go-errors/errors v1.4.2
go: downloading github.com/xlab/treeprint v1.1.0
go: downloading go.starlark.net v0.0.0-20221205180719-3fd0dac74452
go get: github.com/googleapis/[email protected] updating to
        github.com/googleapis/[email protected]: parsing go.mod:
        module declares its path as: github.com/google/gnostic
                but was required as: github.com/googleapis/gnostic

@devsecfranklin
Copy link
Collaborator Author

devsecfranklin commented May 13, 2023

still seeing this error. Any ideas @VoltSpike

upgrades to the latest or minor patch release
go: github.com/googleapis/[email protected]: parsing go.mod:
        module declares its path as: github.com/google/gnostic
                but was required as: github.com/googleapis/gnostic
upgrade test dependencies
go: github.com/googleapis/[email protected]: parsing go.mod:
        module declares its path as: github.com/google/gnostic
                but was required as: github.com/googleapis/gnostic

@devsecfranklin devsecfranklin added the bug Something isn't working label May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant