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

Update sysinfo requirement from 0.32.0 to 0.33.0 #6835

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2024

Updates the requirements on sysinfo to permit the latest version.

Changelog

Sourced from sysinfo's changelog.

0.33.0

  • Linux: Add more ARM vendor IDs.
  • Linux: Improve CPU computation when refreshing a single process CPU usage.
  • Windows: Fix CPU frequency not being refreshed.
  • Windows: Improved components retrieval.
  • Windows: Fix inconsistent boot_time information.
  • Windows: Fix User::groups.
  • macOS: Fix network data information being limited to 32 bits.
  • macOS: Add newer macOS version for System::long_os_version.
  • unix: Add support for network sub-interfaces.
  • Use std::env::consts::ARCH as fallback for System::cpu_arch.
  • Add disk I/O support provided through Disk::usage.
  • Add NetworkData::mtu.
  • Add DiskRefreshKind to have finer-grained disks refreshes.
  • Component::temperature and Component::max now returns Option<f32>.
  • Users::refresh_list, Groups::refresh_list, Components::refresh_list, Networks::refresh_list and Disks::refresh_list methods were renamed refresh.
  • *RefreshKind::new methods were renamed nothing.
  • Improve documentation for DiskUsage::read_bytes.
  • Improve documentation for Process::kill.

0.32.1

  • Fix compilation error due to libc update.

0.32.0

  • Add new Disk::is_read_only API.
  • Add new remove_dead_processes argument to System::refresh_processes and System::refresh_processes_specifics.
  • macOS: Fix memory leak in disk refresh.

0.31.4

  • macOS: Force memory cleanup in disk list retrieval.

0.31.3

  • Raspberry Pi: Fix temperature retrieval.

0.31.2

  • Remove bstr dependency (needed for rustc development).

0.31.1

  • Downgrade version of memchr (needed for rustc development).

0.31.0

  • Split crate in features to only enable what you need.

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added arrow Changes to the arrow crate auto-dependencies labels Dec 4, 2024
@github-actions github-actions bot added parquet Changes to the parquet crate and removed arrow Changes to the arrow crate labels Dec 4, 2024
@@ -97,8 +97,7 @@ fn main() -> Result<()> {
let file = File::create(args.path).unwrap();
let mut writer = ParquetWriter::try_new(file, schema.clone(), Some(properties))?;

let mut system =
System::new_with_specifics(RefreshKind::new().with_memory(MemoryRefreshKind::everything()));
let mut system = System::new_with_specifics(RefreshKind::everything());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to update the API usage in this PR to match the new API in sysinfp

@alamb alamb merged commit 9a74a25 into main Dec 16, 2024
17 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/main/sysinfo-0.33.0 branch December 16, 2024 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-dependencies parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant