golang / dep

Go dependency management tool experiment (deprecated)
https://golang.github.io/dep/
BSD 3-Clause "New" or "Revised" License
12.85k stars 1.05k forks source link

Excuse me, Why can't I update etcd #2159

Closed m9rco closed 5 years ago

m9rco commented 5 years ago

What version of dep are you using (dep version)?

What dep command did you run?

 dep ensure -add go.etcd.io/etcd

or

github.com/etcd-io/etcd

What did you expect to see?

I would like to see etcd 3.3.13 version client,https://github.com/etcd-io/etcd

What did you see instead?

Solving failure: No versions of github.com/etcd-io/etcd met constraints:
        v3.3.13: Could not introduce github.com/etcd-io/etcd@v3.3.13, as it is not allowed by constraint master from project github.com/m9rco/exile.
        v3.3.12: Could not introduce github.com/etcd-io/etcd@v3.3.12, as it is not allowed by constraint master from project github.com/m9rco/exile.
        v3.3.11: Could not introduce github.com/etcd-io/etcd@v3.3.11, as it is not allowed by constraint master from project github.com/m9rco/exile.
        v3.3.10: Could not introduce github.com/etcd-io/etcd@v3.3.10, as it is not allowed by constraint master from project github.com/m9rco/exile.

or Gopkg.toml Produce the following code segment

[[constraint]]
  name = "go.etcd.io/etcd"
  version = "2.3.8"
m9rco commented 5 years ago

Even if I specify gopkg.tom version number

[[constraint]]
  name = "go.etcd.io/etcd"
  version = "3.3.13"

or

[[constraint]]
  name = "github.com/etcd-io/etcd"
  version = "3.3.13"
kevinburke commented 5 years ago

Hi, looking at the project in question I think you got the etcd dependency working, but the mongo dependency was looking at the wrong version. I've submitted a fix that should get you back up and running: https://github.com/m9rco/exile/pull/1

m9rco commented 5 years ago

wow ! !, thanks !!! I finally found the problem, the problem on the GFW

m9rco commented 5 years ago

I'm so honored!