-
Notifications
You must be signed in to change notification settings - Fork 179
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
v2 go mod incompatibility #65
Comments
hit this today also. |
Noted. This won't be straightforward to rectify - because we have to change the path, which will break existing users (or both!)
I'm not aware of other great options here, and am open to suggestions. |
hit this also. |
(Deleted a comment that wasn’t constructive) |
Workaround: Add |
Thanks @stek29, can you please post an example of how to define Edit: I was able to do it as follows:
|
@jbrukh yup, that's what i've meant. |
Honestly we could just move it all to an entirely new repo path and close this one. eg: github.com/gorilla/rpc2. |
@kisielk Agreed. I was quite confused when I realized that |
@rocketbitz, what did you run before
|
Ah, now I see it. This triggered golang/go#33099 (and was masked by golang/go#32805) using
|
Works fine with
|
Nice, so looks like it's resolved in latest Go release? |
Will be resolved in the next Go release, yes. ( |
Some issue in our builds started happening any clues? |
@harshavardhana, golang/go#32805 was just resolved, and the version |
This seems to have broken the builds @bcmills I can't seem to get my CI's to build with go1.12.7 |
@harshavardhana, Fundamentally, there are two workarounds and one long-term fix.
|
Correct we did set that for faster builds @bcmills |
We don't depend on it anyways it's just automatically added by |
If you add |
I did that and it does get replaced as soon as I do |
|
Yeah it is like this
|
It occurs to me that the |
Yes that is what we did and it works until we move to go1.13 |
The RPC v2 module is never downloaded, I believe because of the v2 in the path,
go mod
believes it is a v2 ofgorilla/rpc
, not a separate package.The text was updated successfully, but these errors were encountered: