-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
v1.7.10 requires a module by the wrong version #16901
Comments
Thanks for the report @FiloSottile. @e-dard introduced go.mod in into the 1.7 branch in cbae66e, via #15863 -- there was no mention of go.mod in the commit message or in the PR comments by reviewers @jacobmarble nor @benbjohnson. I noticed we also still have Gopkg.lock. My suspicion is that we weren't intending to migrate to modules for influxdb 1.7 yet. But now that we've published 1.7.10 with modules, it seems like we ought to fix up go.mod in 1.7.11. I did try deleting Then, deleting the @dgnorton let's see if we can get modules set up properly for 1.7.11. |
Looks like the The reason it looks like it's updating stuff when you run it is that For example, you require
|
I prepared a cleaned up |
this is causing builds to fail on homebrew: Homebrew/homebrew-core#49900 |
This is causing a downstream issue where the compilation of external plugins written in golang for influxdata/telegraf will fail with the exact same error. |
I'm sorry. I didn't get. How should I fix this? |
@korjavin, add this to your
|
I'm still hitting this in 2021. Having to use a replace directive is a bit sad. I could upgrade to v1.8 or later, but the dependency is indirect, and I'd rather not risk breaking my dependencies. I could avoid this by only upgrading to v1.7.9, but that's not particularly easy to do unless v1.7.10 is retracted as a broken version. For example, |
Fixed with the release of 1.7.11 |
github.com/influxdata/[email protected]
requiresgithub.com/google/[email protected]
. Commit google/go-github@dd29b543e14c shows ago.mod
with pathgithub.com/google/go-github/v18
so it can't be used with v0.0.0 and nakedgithub.com/google/go-github
import path.Go 1.13 notices and breaks.
In other words,
github.com/google/[email protected]
doesn't exist, that commit isgithub.com/google/go-github/[email protected]
.The text was updated successfully, but these errors were encountered: