-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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.sum has invalid imports from vanity urls #21867
Comments
Hi @adamdecaf, I believe the issue there is due to an old version of |
I tried with Go 1.12.6 and it's still failing for me. https://travis-ci.org/adamdecaf/namecheap/builds/549975672 Edit: Were you talking about |
There has been some flux in how checksums were calculated in recent versions of go, so that is often the cause of a sum mismatch. Since this is only triggered using It may still be the case that a module generated with and older version of |
Ah, sorry, I was seeing a different sum related error when I tried to replicate this, but you're right, it looks like it is a module related error.
|
On Terraform master in
One project pulls this in
|
I traced this down somewhat. Terraform pulls in This seems to come from two dependencies:
Could the fix be in upgrading grpc? I assume that's a large change within Terraform, but the explicit GRPC's v1.18.0 release looks to be the first without the |
This should be fixed with updated modules and go version. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Expected Behavior
Inside a project where we want to include Terraform packages (e.g.
helper/schema
)go get
commands should work.Actual Behavior
Terraform's
go.sum
file contains invalid entries from vanity urls (in this casegithub.com/golang/lint
rather thangolang.org/x/lint
)Additional Context
Even a simple
go.mod
file fails to properly vendor fromv0.12.3
. ExampleThere's at lease one other import path that fails here:
Example CI build failure: https://travis-ci.org/adamdecaf/namecheap/jobs/549940867
The text was updated successfully, but these errors were encountered: