This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-12051-53ef3bf27737a7d6e57d174cf2e9feb8e78c7337
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit b010f53dffad838e137423e81980db3d9e36c26c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 4 03:03:23 2026 +0000

    chore(deps): bump sysinfo from 0.39.6 to 0.40.1 (#12051)
    
    Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.39.6
    to 0.40.1.
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    
href="https://github.com/GuillaumeGomez/sysinfo/blob/main/CHANGELOG.md";>sysinfo's
    changelog</a>.</em></p>
    <blockquote>
    <h1>0.40.1</h1>
    <ul>
    <li>Add back <code>From&lt;X&gt; for Vec&lt;Y&gt;</code> trait
    implementations for <code>Disks</code>, <code>Gpus</code>,
    <code>Groups</code> and <code>Users</code>.</li>
    <li>Windows: <code>System::load_average</code> now returns
    <code>Err(Error::Unsupported)</code>.</li>
    </ul>
    <h1>0.40.0</h1>
    <ul>
    <li>Add new <code>gpu</code> feature.</li>
    <li>Add new <code>Process::gpu_usage</code> and
    <code>Process::gpu_memory</code> API.</li>
    <li>Add new <code>GPUs</code> API.</li>
    <li>Add new <code>NetworkData::transmit_link_speed</code> and
    <code>NetworkData::receive_link_speed</code> API.</li>
    <li>Add new <code>Disk::id</code> API.</li>
    <li>Remove <code>IS_SUPPORTED_SYSTEM</code> constant.</li>
    <li>Remove <code>set_open_files_limit</code> API.</li>
    <li>Remove <code>list[_mut]</code> methods for <code>Users</code>,
    <code>Components</code> and <code>Disks</code>.</li>
    <li>Remove <code>Networks::list</code> method.</li>
    <li>Remove <code>From</code> trait implementations for
    <code>Users</code>, <code>Groups</code> and <code>Disks</code>.</li>
    <li>Fix <code>Networks</code> refresh.</li>
    <li><code>Networks</code> interface names have been switched from
    <code>String</code> to <code>OsString</code>.</li>
    <li>Unix: Fix not thread-safe code in <code>Groups</code>.</li>
    <li>Unix: Fix potential crash when a user's group cannot be
    retrieved.</li>
    <li>Linux: Correctly mark a process as existing after update.</li>
    <li>Linux: Fix cgroup memory information retrieval.</li>
    <li>Linux: Multiple performance optimizations and memory usage
    reduction.</li>
    <li>Linux: Fixes for thermal zone temperatures.</li>
    <li>Linux: Keep <code>Component</code> max temperature across
    refreshes.</li>
    <li>Android: Fall back to <code>/proc/cpuinfo</code> when
    <code>/proc/stat</code> is unreadable.</li>
    <li>Raspberry Pi: Fix toolchain package name in README.</li>
    <li>FreeBSD/NetBSD: Fix <code>System::free_memory</code> and
    <code>System::available_memory</code>.</li>
    <li>FreeBSD: Correctly query <code>sysctl</code> values.</li>
    <li>FreeBSD: Fix swap memory information retrieval.</li>
    <li>NetBSD: Fix <code>Process::accumulated_cpu_time</code> unit.</li>
    <li>macOS: Implement <code>System::open_files_limit</code>.</li>
    <li>macOS: Fix bug in <code>Disks::refresh</code>.</li>
    <li>iOS: Mark <code>Networks</code> as unsupported.</li>
    <li>iOS: Make <code>Process::open_files</code> return
    <code>None</code>.</li>
    <li>Windows: Don't keep thread-less processes alive.</li>
    <li>Windows: Fix CPU brand on ARM64.</li>
    <li>Windows: Fix crash in <code>Components::refresh</code>.</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/75dcd2c6814da3da9f0921f33ca3d83762a53ba9";><code>75dcd2c</code></a>
    Merge pull request <a
    
href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1790";>#1790</a>
    from GuillaumeGomez/update</li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/15a5e93c71fbe7e6a8e65b5cd92f4c82ee22a893";><code>15a5e93</code></a>
    Update crate version to <code>0.40.1</code></li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/4f252bd13ce51a1debfa41969dac5902358f7793";><code>4f252bd</code></a>
    Update CHANGELOG for <code>0.40.1</code></li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/4a7b9e7c8f8560127d452fcecd101ad3ef96705e";><code>4a7b9e7</code></a>
    Merge pull request <a
    
href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1789";>#1789</a>
    from GuillaumeGomez/from</li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/b19150a0177a91f0107febcf46e21c31674ed12a";><code>b19150a</code></a>
    Add back <code>From\&lt;X&lt;Y&gt;&gt; for Vec\&lt;Y&gt;</code>
    implementations for <code>Users</code>, <code>Groups</code> and
    `G...</li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/e27239a5b8a77aa686862031f01cc18bba60cf49";><code>e27239a</code></a>
    Windows: mark <code>System::load_average</code> as unsupported (<a
    
href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1788";>#1788</a>)</li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/70c58c7701fc76af801687aa62d9e2de5a0e60e7";><code>70c58c7</code></a>
    Fix wrong supported system list for <code>GPUs</code></li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/13e94d553338ac279dfc506ca3c99640a5ab93ad";><code>13e94d5</code></a>
    Windows: mark <code>System::load_average</code> as unsupported</li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/34677fe75c2139e44992736e2b4a280748b86fa1";><code>34677fe</code></a>
    allow getting owned <code>Disk</code> from <code>Disks</code> (<a
    
href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1786";>#1786</a>)</li>
    <li><a
    
href="https://github.com/GuillaumeGomez/sysinfo/commit/48972c49bf7631d8e305c02bef18e26a4a9f619e";><code>48972c4</code></a>
    Merge pull request <a
    
href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1784";>#1784</a>
    from GuillaumeGomez/update</li>
    <li>Additional commits viewable in <a
    
href="https://github.com/GuillaumeGomez/sysinfo/compare/v0.39.6...v0.40.1";>compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sysinfo&package-manager=cargo&previous-version=0.39.6&new-version=0.40.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    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-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 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)
    
    
    </details>
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Jefffrey <[email protected]>
---
 Cargo.lock                        | 4 ++--
 parquet/Cargo.toml                | 2 +-
 parquet/examples/write_parquet.rs | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index e6db5db594..2d8ef45d50 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3652,9 +3652,9 @@ dependencies = [
 
 [[package]]
 name = "sysinfo"
-version = "0.39.6"
+version = "0.40.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "d2071df9448915b71c4fe6d25deaf1c22f12bd234f01540b77312bb8e41361e6"
+checksum = "0e8a3edbe0394ce115f3917a00349dd242be09eb5a091ed509eaf67b55cfb8a8"
 dependencies = [
  "libc",
  "memchr",
diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml
index 7e66a21e70..46999dd85c 100644
--- a/parquet/Cargo.toml
+++ b/parquet/Cargo.toml
@@ -95,7 +95,7 @@ tokio = { version = "1.0", default-features = false, features 
= ["macros", "rt-m
 rand = { version = "0.10", default-features = false, features = ["std", 
"std_rng", "thread_rng"] }
 object_store = { workspace = true, features = ["azure", "fs"] }
 opendal = { version = "0.59.1", default-features = false, features = 
["services-memory"] }
-sysinfo = { version = "0.39.6", default-features = false, features = 
["system"] }
+sysinfo = { version = "0.40.1", default-features = false, features = 
["system"] }
 
 [package.metadata.docs.rs]
 all-features = true
diff --git a/parquet/examples/write_parquet.rs 
b/parquet/examples/write_parquet.rs
index 8b704c2e02..c6c7b38a24 100644
--- a/parquet/examples/write_parquet.rs
+++ b/parquet/examples/write_parquet.rs
@@ -97,7 +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::everything());
+    let mut system = 
System::new_with_specifics(RefreshKind::everything()).unwrap();
     eprintln!(
         "{} Writing {} batches of {} rows. RSS = {}",
         now(),

Reply via email to