Skip to content
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.opentelemetry.io/otel/label" v0.18.0 版本修改了包名,导致引入 gredis 不能编译 #1193

Closed
DukeAnn opened this issue Mar 7, 2021 · 6 comments
Labels
done This issue is done, which may be release in next version. enhancement

Comments

@DukeAnn
Copy link

DukeAnn commented Mar 7, 2021

详情 open-telemetry/opentelemetry-go#1635

如果执行 go get -u 就会失败,官方骚气的同大版本不兼容写法

@GuihaiHU
Copy link

请问怎么解决呢

@DukeAnn
Copy link
Author

DukeAnn commented Mar 19, 2021

请问怎么解决呢

执行 go get go.opentelemetry.io/otel/label@v0.17.0

@housemecn
Copy link
Contributor

请问怎么解决呢

可以go get -u -v github.com/gogf/gf@master
不要在项目下执行go get -u all
默认会升级到 go.opentelemetry.io/otel/label@v0.19.0 现在0.18.0 和0.19.0有差别

@gqcn gqcn added done This issue is done, which may be release in next version. enhancement labels Mar 30, 2021
@gqcn
Copy link
Member

gqcn commented Mar 30, 2021

@housemecn @GuihaiHU @DukeAnn 主要原因是由于otel不稳定造成的,并且go get -u all命令会更新所有依赖包的版本,项目依赖的包版本尽量别随意升级。gf已经更新兼容了最新0.19.0版本的otel版本,不过未来可能会随时保持和otel版本的升级。

@DukeAnn
Copy link
Author

DukeAnn commented Apr 2, 2021

@housemecn @GuihaiHU @DukeAnn 主要原因是由于otel不稳定造成的,并且go get -u all命令会更新所有依赖包的版本,项目依赖的包版本尽量别随意升级。gf已经更新兼容了最新0.19.0版本的otel版本,不过未来可能会随时保持和otel版本的升级。

好的感谢大佬,问题先关了。

@DukeAnn DukeAnn closed this as completed Apr 2, 2021
@houseme
Copy link
Member

houseme commented Dec 10, 2021

#1515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done This issue is done, which may be release in next version. enhancement
Projects
None yet
Development

No branches or pull requests

5 participants