-
Notifications
You must be signed in to change notification settings - Fork 971
Remove psutil and compute metrics from procfs
#8865
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
base: unstable
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,5 +8,8 @@ eth2 = { workspace = true, features = ["lighthouse"] } | |
| metrics = { workspace = true } | ||
|
|
||
| [target.'cfg(target_os = "linux")'.dependencies] | ||
| nix = { version = "0.26", default-features = false, features = ["fs"] } | ||
| procfs = { version = "0.18", default-features = false } | ||
|
|
||
| [target.'cfg(target_os = "linux")'.dev-dependencies] | ||
| psutil = "3.3.0" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But this PR is not removing psutil?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Once we remove the consistency tests we can remove it. Also, even if we kept the tests it is now just a dev-dependency so it will never be compiled in any release build |
||
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.
We deliberately use an outdated version of
nixto avoid a duplicate dependency. Once our dependencies update their version ofnix, we can bump this too