HadrienG2 / hwlocality

Rust bindings to Open MPI Portable Hardware Locality "hwloc" library, covering version 2.0 and above.
MIT License
20 stars 5 forks source link

Update sysinfo requirement from 0.29 to 0.30 #80

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Updates the requirements on sysinfo to permit the latest version.

Changelog

Sourced from sysinfo's changelog.

0.30.0

  • Split System into subtypes: Components, Disks, Networks and Users.
  • brand, vendor_id and frequency information is not set anymore on the global CPU.
  • Unix: Fix endless loop in user groups retrieval.
  • Unix/Windows: Fix infinite loop when retrieving various information because of bad usage of Vec::reserve.
  • Unix: Fix invalid usage of NULL pointer when retrieving user group name.
  • Linux: Fix CPU name retrieval.
  • Linux: Remove cgroup usage from memory computation.
  • Linux: Add linux-netdevs feature to allow to retrieve network devices.
  • Linux: Improve system memory information retrieval (using statm file instead of stat).
  • Linux: Tasks are listed in processes.
  • macOS: Correctly retrieve process root directory.
  • Windows: Add warning that System::load_average is not working in documentation.
  • Windows: Fix invalid use of NULL pointer when retrieving users groups.
  • Windows: Correctly retrieve process root directory.
  • Create new System::cgroup_limits method.
  • Remove System::refresh_system method.
  • Disk::file_system and Disk::name now return an Option<&OsStr>.
  • Implement Display trait on DiskKind.
  • Move from winapi to windows crate.
  • Add System::cpu_arch.
  • Add System::refresh_pids and System::refresh_pids_specifics.
  • System::boot_time, System::cpu_arch, System::distribution_id, System::host_name, System::kernel_version, System::load_average, System::long_os_version, System::name, System::os_version and System::uptime are static methods.
  • ProcessRefreshKind has a lot more of possibilities for better control over updates.
  • Add new UpdateKind enum.
  • Add new MemoryRefreshKind struct.
  • Add new System::refresh_memory_specifics method.
  • Process::exe, Process::cwd and Process::root return an Option<&Path>.
  • Process::tasks method is available on all platforms.
  • Process::tasks method returns a HashSet<Pid>.
  • Move System::IS_SUPPORTED, System::SUPPORTED_SIGNALS and System::MINIMUM_CPU_UPDATE_INTERVAL constants out of System directly at the crate top-level.
  • Rename IS_SUPPORTED into IS_SUPPORTED_SYSTEM.
  • Fix serde serialization.
  • Add System::refresh_cpu_frequency and System::refresh_cpu_all.
  • Fix sysinfo.h and C wrapper.
  • Add a migration guide.

0.29.11

  • macOS: Fix bug when a user group doesn't have a name.

0.29.10

  • Linux: Correctly handle max memory value for cgroups.

... (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 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)
semanticdiff-com[bot] commented 8 months ago

Review changes with SemanticDiff.

Analyzed 3 of 4 files.

Overall, the semantic diff is 30% smaller than the GitHub diff.

Filename Status
:grey_question: Cargo.toml Unsupported file format
:heavy_check_mark: examples/bind_process_cpu.rs 30.98% smaller
:heavy_check_mark: examples/process_cpu_bindings.rs 52.86% smaller
:heavy_check_mark: src/topology/builder.rs Analyzed
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ec32768) 65.81% compared to head (9459614) 65.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #80 +/- ## ======================================= Coverage 65.81% 65.81% ======================================= Files 43 43 Lines 4599 4599 ======================================= Hits 3027 3027 Misses 1572 1572 ``` | [Flag](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/80/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | Coverage Δ | | |---|---|---| | [ubuntu-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/80/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `66.97% <ø> (-0.10%)` | :arrow_down: | | [windows-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/80/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `64.99% <ø> (-0.05%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.