-
Notifications
You must be signed in to change notification settings - Fork 175
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
opencensus dependency issue with Go 1.13 #449
Comments
For anyone who happens across this issue, a more conservative
Which only fixes up the specific incorrect pseudo-version instead of upgrading a dependency. |
Note that you could achieve an effect equivalent to the
That way, your build won't break if some future |
The dependencies on the various opencensus modules have been moved to the |
@jhendrixMSFT Thank you! (btw, there's a small typo in CHANGELOG, should be |
Oops I'll fix that in my next change. This should now be fixed, please let me know if you have further problems. |
When using this library with Go 1.13 (currently in beta), the following error is presented:
The pseudo-version referenced in
contrib.go.opencensus.io/exporter/ocagent@v0.4.6
'sgo.mod
is considered invalid, but Go 1.12 and earlier don't check for it.contrib.go.opencensus.io/exporter/ocagent
v0.4.7 does reference a valid version forgit.luolix.top/census-instrumentation/opencensus-proto
.If the dependency has already been cached by Go 1.12 the error doesn't present itself. To reproduce you can clear your module cache or use the
golang:1.13beta1
docker container.I'm currently working around this by using a
replace
:The text was updated successfully, but these errors were encountered: