-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
proxy.golang.org: problem with some modules related to golang.org/x/ #33513
Comments
May be related to golang/go#33513.
Same thing is happening with Gizmo, if you follow the same steps from above and run
I think this is related to the Proxy updating to Go1.13 and invalidating manually written pseudo versions, quote from the tooling mailing list:
|
Following up a little more, I can see that |
@ldez I looked more into why your repo was failing:
Shows the following error:
You require cloud-flare here: https://github.com/go-acme/lego/blob/master/go.mod#L18 The error means that https://github.com/cloudflare/cloudflare-go/blob/v0.9.4/go.mod#L10 Notice that if you run If you end up fixing the error inside cloudflare-go, then your build should succeed, I took the liberty of opening a PR there: cloudflare/cloudflare-go#333 |
Yes, both of those versions for golang.org/x/lint and golang.org/x/time will now be invalid with 1.13 and will no longer be served from proxy.golang.org. This would have broken in direct-mode using 1.13 as well. Try the suggestions that @marwan-at-work made, and I think that should solve the issues. Hopefully there aren't too many broken go.mod files in the wild, so once these get fixed, this problem shouldn't come up again. Thanks for reporting the issue. |
Note that as a short-term workaround, you should be able to use a |
Duplicate of #32805 |
Thanks ❤️ |
For the record, renovate creates PR with the bad pseudo-version: renovatebot/renovate#4310. So, it may still come again. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes with go1.12 latest
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
GOPROXY
go mod tidy
GOPROXY=https://proxy.golang.org
go mod download
What did you expect to see?
No errors
What did you see instead?
More information:
golang.org/x/time
golang.org/x/lint
The text was updated successfully, but these errors were encountered: