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

go mod picking up wrong 2.0 version #89

Closed
jmhodges opened this issue Aug 27, 2019 · 2 comments
Closed

go mod picking up wrong 2.0 version #89

jmhodges opened this issue Aug 27, 2019 · 2 comments
Assignees
Labels
type: question Request for information or clarification. Not an issue.

Comments

@jmhodges
Copy link

When I run go get github.com/googleapis/gax-go using modules, the version I get is from the tag v2.0.2+incompatible (with sum h1:silFMLAnr330+NRuag/VjIGF7TLp/LBrV2CJKFLWEww=), when it seems that v2.0.5 is the latest.

Running a plain go get -u gets me v1.0.3.

What's happening? It feels like there's something that needs to happen from gax-go's end?

@jmhodges
Copy link
Author

This is with go 1.12.9

@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Aug 28, 2019
@noahdietz noahdietz assigned noahdietz and unassigned noahdietz Aug 29, 2019
@noahdietz noahdietz added type: question Request for information or clarification. Not an issue. and removed triage me I really want to be triaged. labels Aug 29, 2019
@noahdietz
Copy link
Contributor

Hi @jmhodges! I was able to reproduce the behavior you've described. Please use the v2 pkg path in your Go tool commands and/or go.mod.

go get github.com/googleapis/gax-go/v2

My go.mod changed like so:
+ github.com/googleapis/gax-go/v2 v2.0.5

I filed #90 to have the README updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants