-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Update of dependencies in go.mod: zap, bbolt, grpc, ... #13078
Conversation
ptabor
commented
Jun 3, 2021
•
edited
Loading
edited
`./scripts/update_dep.sh go.etcd.io/bbolt v1.3.6`
- github.com/coreos/go-systemd/v22 v22.3.2 - github.com/google/btree v1.0.1 - github.com/json-iterator/go v1.1.11 - github.com/mattn/go-runewidth v0.0.13 - github.com/prometheus/client_golang v1.10.0 - github.com/prometheus/common v0.26.0 - github.com/sirupsen/logrus v1.8.1
bcb34af
to
994c3b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🎉
server/go.mod
Outdated
replace go.etcd.io/tests/v3 => ./FORBIDDEN_DEPENDENCY | ||
|
||
// Avoid dependency on go.etcd.io/etcd. | ||
replace github.com/go-kit/kit v0.10.0 => github.com/go-kit/kit v0.10.1-0.20210530035833-3b053a73c0f4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this? I thought it was solved by todays prometheus/common release? Or does it not come from client_golang?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from prometheus/client_golang
I might try to depend on prometheus/client_golang@2539062 instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that was not released yet, makes sense. @kakkoyun is there any plans to maybe release a patch release of client_golang? Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion. As in both scenarios we depend on unstable version, I found depending on ustable prometheus/client_golang
cleaner. PTAL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No plans yet for a need patch release. I'd advise to use a master version 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means that for release-3.5 we need to stick to last stable version that does not introduce a cyclic dependency, i.e:
github.com/prometheus/client_golang v1.5.1 (
Line 8 in fea5ace
github.com/prometheus/client_golang v1.5.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how the k8s deps would play with that?
994c3b7
to
aa8fd50
Compare
For now we need to depend on unstable: prometheus/client_golang
aa8fd50
to
404efd7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm