go version) and dep (git describe --tags) are you using?go version go1.8.3 linux/amd64
v0.1.0-196-g5c02575
dep command did you run?dep init -v
Importing configuration from glide. These are only initial constraints, and are further refined during the solve process.
Detected glide configuration files...
Loading /home/simon/go/src/github.com/emersion/neutron/glide.yaml
Loading /home/simon/go/src/github.com/emersion/neutron/glide.lock
Converting from glide.yaml and glide.lock...
Using master as initial constraint for imported dep github.com/go-macaron/binding
Using master as initial constraint for imported dep github.com/mxk/go-imap
Using master as initial constraint for imported dep golang.org/x/crypto
Using master as initial constraint for imported dep golang.org/x/text
is not a valid version for the package gopkg.in/macaron.v1()
Not an error.
An error: is not a valid version for the package gopkg.in/macaron.v1()
Here is my glide.yaml:
package: github.com/emersion/neutron
import:
- package: github.com/go-macaron/binding
- package: github.com/mxk/go-imap
subpackages:
- imap
- package: golang.org/x/crypto
subpackages:
- openpgp
- openpgp/armor
- openpgp/packet
- package: golang.org/x/text
subpackages:
- encoding
- encoding/charmap
- package: gopkg.in/macaron.v1
And here is my glide.lock:
hash: 76aabaabbba85ccb0a942de80badf5ab567a2094dd3723b99ec324a15993d555
updated: 2016-10-21T17:09:00.894212947+02:00
imports:
- name: github.com/go-macaron/binding
version: 9440f336b443056c90d7d448a0a55ad8c7599880
- name: github.com/go-macaron/inject
version: d8a0b8677191f4380287cfebd08e462217bac7ad
- name: github.com/mxk/go-imap
version: 531c36c3f12d6a03ea766b07a77314aa51ec17f3
subpackages:
- imap
- name: github.com/Unknwon/com
version: 28b053d5a2923b87ce8c5a08f3af779894a72758
- name: golang.org/x/crypto
version: 6318898455d3ac20e7e44d0a080d43f8c3ff120b
subpackages:
- cast5
- openpgp
- openpgp/armor
- openpgp/elgamal
- openpgp/errors
- openpgp/packet
- openpgp/s2k
- name: golang.org/x/text
version: 1e65e9bf72c307081cea196f47ef37aed17eb316
subpackages:
- encoding
- encoding/charmap
- encoding/internal
- encoding/internal/identifier
- transform
- name: gopkg.in/ini.v1
version: 6e4869b434bd001f6983749881c7ead3545887d8
- name: gopkg.in/macaron.v1
version: 4974334b10dbb6f5c0e17f4c10555ff050a16329
testImports: []
Thanks for reporting this bug! 馃憤
Feels like this might be related to a bug I vaguely recall where ListVersions() was returning zero versions from certain gopkg.in paths. I can't find the issue for that offhand, though - I think the surfaced symptom was a panic in a solver method.
I think this was fixed by #715. @emersion Would you please try again with the latest dep and let me know how it goes?
I can confirm this bug is fixed with the latest dep!
Most helpful comment
I can confirm this bug is fixed with the latest
dep!