Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
proxy.golang.org: github.com/go-redis/redis 6.15.4 #34005
What version of Go are you using (
There's a couple things going on here, I think. First is the new validation added in 1.13, described in the "version validation" section of https://tip.golang.org/doc/go1.13. That would normally reject both v6.15.3+incompatible and .4+incompatible. However, you probably upgraded from 1.12 and already had both versions in your module cache. That bypasses the validation, which only takes place on fetch.
Second is that sum.golang.org was running 1.12 for quite a while, which allowed these bad versions to be recorded permanently in the log. They were purged from proxy.golang.org, so you'll see that both https://proxy.golang.org/github.com/go-redis/redis/@v/v6.15.3+incompatible.info and https://proxy.golang.org/github.com/go-redis/redis/@v/v6.15.4+incompatible.info return the same error as the failing sum.golang.org URL. However, it was not feasible to purge them from sum.golang.org, so the (invalid) cached version will live forever there.
Long and short of it is, these go-redis versions are not usable in module mode in 1.13 without some replace hackery, and you'll get much clearer error messages if you clear your module cache. Hope that clears things up, and sorry for the trouble.