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

go get failed #11707

Closed
zltl opened this issue Mar 19, 2020 · 6 comments
Closed

go get failed #11707

zltl opened this issue Mar 19, 2020 · 6 comments
Labels

Comments

@zltl
Copy link

zltl commented Mar 19, 2020

It just failed on go get github.com/etcd-io/etcd

...
# github.com/coreos/etcd/clientv3/balancer/resolver/endpoint
go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:114:78: undefined: resolver.BuildOption
go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:182:31: undefined: resolver.ResolveNowOption
# github.com/coreos/etcd/clientv3/balancer/picker
go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/picker/err.go:37:44: undefined: balancer.PickOptions
go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/picker/roundrobin_balanced.go:55:54: undefined: balancer.PickOptions

Why all ci tags on your README.md still green?

@marwan-at-work
Copy link

marwan-at-work commented Mar 20, 2020

Same issue here.

And I also noticed that the go.mod file is not following Semantic Import Versioning so I cannot use clientv3 with the go.mod file at all.

@tangname
Copy link

You need manutually modify the go.mod file.

From google.golang.org/grpc v1.26.1 to google.golang.org/grpc v1.25.1

It'll work well.

@utrack
Copy link

utrack commented Mar 24, 2020

I believe #11564 should be backported to v3.3 ASAP, because it doesn't compile with stable grpc.

Meanwhile, you can do replace google.golang.org/grpc => google.golang.org/grpc v1.26.0 in your go.mod to force use v1.26, which is compatible with etcd <= v3.3.19

@stale
Copy link

stale bot commented Jun 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@Heusini
Copy link

Heusini commented Jul 5, 2020

i did not change it in the go.mod but did this:
go get google.golang.org/[email protected]

@stale stale bot removed the stale label Jul 5, 2020
@stale
Copy link

stale bot commented Oct 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 3, 2020
@stale stale bot closed this as completed Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants