Skip to content

Commit

Permalink
Fix "panic: version queue is empty" during dep ensure
Browse files Browse the repository at this point in the history
There seems to be a specific dependency resolution bug in dep that's
explored in golang/dep#1799. We've seen it
every so often on our development machines. This commit introduces a
suggested workaround for the problem, which seems to work on my box.
  • Loading branch information
jchampio committed Aug 27, 2019
1 parent a3ae535 commit 597558b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@
name = "github.com/hashicorp/go-multierror"
version = "1.0.0"

# Work around
# panic: version queue is empty, should not happen: gopkg.in/fsnotify.v1
# (see https://github.com/golang/dep/issues/1799)
[[override]]
name = "gopkg.in/fsnotify.v1"
source = "https://github.com/fsnotify/fsnotify.git"

[prune]
go-tests = true
unused-packages = true

0 comments on commit 597558b

Please sign in to comment.