This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
dep constraint not work correct #734
Closed
Description
What version of Go (go version
) and dep
(git describe --tags
) are you using?
go version go1.8.3 darwin/amd64
v1.1-3647-g30908ea5
What dep
command did you run?
dep ensure -update -v
Root project is "github.com/wothing/17mei-butler"
105 transitively valid internal packages
36 external packages imported from 29 projects
(0) ✓ select (root)
(1) ? attempt github.com/PuerkitoBio/goquery with 1 pkgs; 19 versions to try
(1) try github.com/PuerkitoBio/goquery@v1.1.0
(1) ✓ select github.com/PuerkitoBio/goquery@v1.1.0 w/1 pkgs
(2) ? attempt github.com/andybalholm/cascadia with 1 pkgs; 2 versions to try
(2) try github.com/andybalholm/cascadia@master
(2) ✓ select github.com/andybalholm/cascadia@master w/1 pkgs
(3) ? attempt github.com/arstd/light with 1 pkgs; 10 versions to try
(3) try github.com/arstd/light@v0.3.1
(4) ✗ github.com/arstd/light@v0.3.1 not allowed by constraint master:
(4) master from (root)
(3) try github.com/arstd/light@v0.3
(4) ✗ github.com/arstd/light@v0.3 not allowed by constraint master:
(4) master from (root)
(3) try github.com/arstd/light@v0.2.1
(4) ✗ github.com/arstd/light@v0.2.1 not allowed by constraint master:
(4) master from (root)
(3) try github.com/arstd/light@v0.2
(4) ✗ github.com/arstd/light@v0.2 not allowed by constraint master:
(4) master from (root)
(3) try github.com/arstd/light@v0.1.1
(4) ✗ github.com/arstd/light@v0.1.1 not allowed by constraint master:
(4) master from (root)
(3) try github.com/arstd/light@v0.1
(4) ✗ github.com/arstd/light@v0.1 not allowed by constraint master:
(4) master from (root)
(3) try github.com/arstd/light@master
(3) ✓ select github.com/arstd/light@master w/1 pkgs
(4) ? attempt github.com/coreos/etcd with 1 pkgs; 112 versions to try
(4) try github.com/coreos/etcd@v3.1.8
(4) ✓ select github.com/coreos/etcd@v3.1.8 w/3 pkgs
(5) ? attempt github.com/dgrijalva/jwt-go with 1 pkgs; 16 versions to try
(5) try github.com/dgrijalva/jwt-go@v3.0.0
(5) ✓ select github.com/dgrijalva/jwt-go@v3.0.0 w/1 pkgs
(6) ? attempt github.com/garyburd/redigo with 1 pkgs; 3 versions to try
(6) try github.com/garyburd/redigo@v1.1.0
(6) ✓ select github.com/garyburd/redigo@v1.1.0 w/2 pkgs
(7) ? attempt github.com/axgle/mahonia with 1 pkgs; 1 versions to try
(7) try github.com/axgle/mahonia@master
(7) ✓ select github.com/axgle/mahonia@master w/1 pkgs
(8) ? attempt github.com/pborman/uuid with 1 pkgs; 4 versions to try
(8) try github.com/pborman/uuid@v1.0
(8) ✓ select github.com/pborman/uuid@v1.0 w/1 pkgs
(9) ? attempt github.com/wothing/worpc with 1 pkgs; 1 versions to try
(9) try github.com/wothing/worpc@master
(9) ✓ select github.com/wothing/worpc@master w/1 pkgs
(10) ? attempt github.com/golang/protobuf with 1 pkgs; 2 versions to try
(10) try github.com/golang/protobuf@master
(10) ✓ select github.com/golang/protobuf@master w/1 pkgs
(11) ? attempt github.com/elgs/gostrgen with 1 pkgs; 1 versions to try
(11) try github.com/elgs/gostrgen@master
(11) ✓ select github.com/elgs/gostrgen@master w/1 pkgs
(12) ? revisit github.com/golang/protobuf to add 1 pkgs
(12) ✓ include 3 more pkgs from github.com/golang/protobuf@master
(12) ? attempt github.com/mozillazg/go-pinyin with 1 pkgs; 18 versions to try
(13) try github.com/mozillazg/go-pinyin@v0.12.0
(13) ✓ select github.com/mozillazg/go-pinyin@v0.12.0 w/1 pkgs
(13) ? attempt github.com/bitly/go-simplejson with 1 pkgs; 5 versions to try
(14) try github.com/bitly/go-simplejson@v0.5.0
(14) ✓ select github.com/bitly/go-simplejson@v0.5.0 w/1 pkgs
(14) ? attempt github.com/tealeg/xlsx with 1 pkgs; 13 versions to try
(15) try github.com/tealeg/xlsx@v1.0.0
(16) ✗ github.com/tealeg/xlsx@v1.0.0 not allowed by constraint master:
(16) master from (root)
(15) try github.com/tealeg/xlsx@v0.04
(16) ✗ github.com/tealeg/xlsx@v0.04 not allowed by constraint master:
(16) master from (root)
(15) try github.com/tealeg/xlsx@v0.03
(16) ✗ github.com/tealeg/xlsx@v0.03 not allowed by constraint master:
(16) master from (root)
(15) try github.com/tealeg/xlsx@v0.02
(16) ✗ github.com/tealeg/xlsx@v0.02 not allowed by constraint master:
(16) master from (root)
(15) try github.com/tealeg/xlsx@v0.01
(16) ✗ github.com/tealeg/xlsx@v0.01 not allowed by constraint master:
(16) master from (root)
(15) try github.com/tealeg/xlsx@master
(15) ✓ select github.com/tealeg/xlsx@master w/1 pkgs
(15) ? attempt golang.org/x/net with 1 pkgs; 4 versions to try
(16) try golang.org/x/net@master
(16) ✓ select golang.org/x/net@master w/2 pkgs
(16) ? attempt github.com/wothing/wonaming with 1 pkgs; 1 versions to try
(17) try github.com/wothing/wonaming@master
(17) ✓ select github.com/wothing/wonaming@master w/1 pkgs
(17) ? attempt github.com/ugorji/go with 1 pkgs; 1 versions to try
(18) try github.com/ugorji/go@master
(18) ✓ select github.com/ugorji/go@master w/1 pkgs
(18) ? revisit golang.org/x/net to add 1 pkgs
(19) ✓ include 1 more pkgs from golang.org/x/net@master
(18) ? attempt github.com/wothing/timing with 1 pkgs; 1 versions to try
(20) try github.com/wothing/timing@master
(20) ✓ select github.com/wothing/timing@master w/1 pkgs
(19) ? attempt github.com/wothing/caldav-go with 2 pkgs; 1 versions to try
(21) try github.com/wothing/caldav-go@master
(21) ✓ select github.com/wothing/caldav-go@master w/11 pkgs
(20) ? attempt github.com/smartystreets/goconvey with 1 pkgs; 17 versions to try
(22) try github.com/smartystreets/goconvey@1.6.2
(22) ✓ select github.com/smartystreets/goconvey@1.6.2 w/3 pkgs
(21) ? attempt github.com/jtolds/gls with 1 pkgs; 3 versions to try
(23) try github.com/jtolds/gls@v4.2.1
(23) ✓ select github.com/jtolds/gls@v4.2.1 w/1 pkgs
(22) ? attempt github.com/gopherjs/gopherjs with 1 pkgs; 6 versions to try
(24) try github.com/gopherjs/gopherjs@master
(24) ✓ select github.com/gopherjs/gopherjs@master w/1 pkgs
(23) ? attempt github.com/nsqio/go-nsq with 1 pkgs; 16 versions to try
(25) try github.com/nsqio/go-nsq@v1.0.6
(25) ✓ select github.com/nsqio/go-nsq@v1.0.6 w/1 pkgs
(24) ? attempt github.com/mreiferson/go-snappystream with 1 pkgs; 7 versions to try
(26) try github.com/mreiferson/go-snappystream@v0.2.3
(26) ✓ select github.com/mreiferson/go-snappystream@v0.2.3 w/2 pkgs
(25) ? attempt github.com/wothing/log with 1 pkgs; 2 versions to try
(27) try github.com/wothing/log@master
(27) ✓ select github.com/wothing/log@master w/1 pkgs
(26) ? attempt google.golang.org/grpc with 3 pkgs; 14 versions to try
(28) try google.golang.org/grpc@v1.4.0
(28) ✓ select google.golang.org/grpc@v1.4.0 w/14 pkgs
(27) ? revisit golang.org/x/net to add 3 pkgs
(29) ✓ include 7 more pkgs from golang.org/x/net@master
(27) ? attempt github.com/lib/pq with 1 pkgs; 6 versions to try
(30) try github.com/lib/pq@master
(30) ✓ select github.com/lib/pq@master w/2 pkgs
(28) ? attempt github.com/viki-org/dnscache with 1 pkgs; 1 versions to try
(31) try github.com/viki-org/dnscache@master
(31) ✓ select github.com/viki-org/dnscache@master w/1 pkgs
(29) ? attempt golang.org/x/crypto with 3 pkgs; 1 versions to try
(32) try golang.org/x/crypto@master
(32) ✓ select golang.org/x/crypto@master w/6 pkgs
(30) ? attempt gopkg.in/jackc/pgx.v2 with 1 pkgs; 15 versions to try
(33) try gopkg.in/jackc/pgx.v2@v2.11.0
(33) ✓ select gopkg.in/jackc/pgx.v2@v2.11.0 w/1 pkgs
(31) ? revisit google.golang.org/grpc to add 1 pkgs
(34) ✓ include 1 more pkgs from google.golang.org/grpc@v1.4.0
(31) ? attempt github.com/urfave/negroni with 1 pkgs; 5 versions to try
(35) try github.com/urfave/negroni@v0.2.0
(35) ✓ select github.com/urfave/negroni@v0.2.0 w/1 pkgs
(32) ? attempt github.com/smartystreets/assertions with 1 pkgs; 8 versions to try
(36) try github.com/smartystreets/assertions@1.6.0
(36) ✓ select github.com/smartystreets/assertions@1.6.0 w/3 pkgs
(33) ? attempt qiniupkg.com/api.v7 with 2 pkgs; 8 versions to try
(37) try qiniupkg.com/api.v7@v7.0.5
(37) ✓ select qiniupkg.com/api.v7@v7.0.5 w/4 pkgs
(34) ? attempt qiniupkg.com/x with 2 pkgs; 9 versions to try
(38) try qiniupkg.com/x@v7.0.8
(38) ✓ select qiniupkg.com/x@v7.0.8 w/2 pkgs
(35) ? attempt github.com/julienschmidt/httprouter with 1 pkgs; 6 versions to try
(39) try github.com/julienschmidt/httprouter@v1.1
(39) ✓ select github.com/julienschmidt/httprouter@v1.1 w/1 pkgs
(36) ? attempt google.golang.org/genproto with 1 pkgs; 3 versions to try
(40) try google.golang.org/genproto@master
(40) ✓ select google.golang.org/genproto@master w/1 pkgs
(37) ? revisit github.com/golang/protobuf to add 1 pkgs
(41) ✓ include 2 more pkgs from github.com/golang/protobuf@master
(37) ? revisit qiniupkg.com/x to add 5 pkgs
(42) ✓ include 7 more pkgs from qiniupkg.com/x@v7.0.8
(37) ? attempt golang.org/x/text with 2 pkgs; 1 versions to try
(43) try golang.org/x/text@master
(43) ✓ select golang.org/x/text@master w/9 pkgs
✓ found solution with 104 packages from 37 projects
Solver wall times by segment:
b-gmal: 9.894342526s
b-source-exists: 7.047875142s
b-list-versions: 2.01006355s
select-root: 52.860936ms
satisfy: 19.960077ms
select-atom: 17.121985ms
new-atom: 1.561654ms
b-list-pkgs: 465.999µs
b-pair-rev: 267.365µs
other: 245.21µs
b-matches: 110.314µs
b-deduce-proj-root: 99.304µs
b-pair-version: 39.461µs
add-atom: 30.599µs
TOTAL: 19.045044122s
What did you expect to see?
I modifed Gopkg.toml
to set grpc to version v1.2.1
[[constraint]]
name = "google.golang.org/grpc"
version = "1.2.1"
I also tried set
Tring use override
, but still not work.
What did you see instead?
But I still got v1.4.0 instead
Metadata
Metadata
Assignees
Labels
No labels