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

pbutil: dependencies/tests fail with v1.1.0 #13

mpx opened this issue May 27, 2018 · 3 comments


Copy link

commented May 27, 2018 v1.1.0 (and later) have removed the testdata directory so it can no longer be imported. This breaks tests:

$ go test
all_test.go:27:2: cannot find package "" in any of:
	/home/mark/go1.10.2/src/ (from $GOROOT)
	/home/mark/src/ (from $GOPATH)
FAIL [setup failed]

I noticed this when attempting to use vgo vendor with a module that depends on vgo is unable to enumerate dependencies since pbutil's dependencies are broken.


This comment has been minimized.

Copy link

commented May 27, 2018

Ahh, I just noticed I was using v1.0.0 which doesn't include the fix in c12348c.

Can you please tag a new release?


This comment has been minimized.

Copy link

commented May 28, 2018

Thanks for noticing. I had expected vgo would not be happy about something.

@matttproud matttproud closed this May 28, 2018

This comment has been minimized.

Copy link

commented Jun 24, 2018

Hi! @mpx how did you succeed in solving this issue? On my side I'm trying to import the Prometheus Metrics library but I got same kind of error.

        import "" ->
        import "" ->
        import "" ->
        import "" ->
        import "" 

It tries to get "\golang\protobuf@v1.1.0\proto\testdata" but it fails... Any idea how to simply fix that please?

EDIT: Since these librairies do not have yet their own go.mod file targeting a specific tag of golang_protobuf_extensions, why does it try to get v1.0.0 instead of the v1.0.1 😢 ? I was thinking it was always looking for the latest version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.