-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: does not recognize gopkg.in/foo.v2-unstable #23989
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
Comments
Blocked on #24099. |
How widely used are What's the relationship between work on v2 and v2-unstable? Does all the v2-unstable happen, then the API stabilizes, then it moves to v2? Or does each new change to v2 somehow start on v2-unstable? |
More widely used than I'd prefer. We're trying to move away from them but we still have large quantities of code that are going to take a long time to do that (some might never succeed).
In that respect, I guess it's like any pre-release version tag (from semver.org: "A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version.").
Yes, that's how it works. |
Note that in current
|
Change https://golang.org/cl/128901 mentions this issue: |
https://golang.org/cl/128901 fixes my issues, thanks. I can now checkout github.com/juju/juju and |
The
ParseGopkgIn
function ingolang.org/x/vgo/vendor/cmd/go/internal/modfetch/gopkgin.go
does not recognize import paths of the formgopkg.in/foo.v2-unstable
which are considered valid by gopkg.in.When using vgo build, it prints errors like:
The text was updated successfully, but these errors were encountered: