From b227694934d4c10d63624676605727229c493aac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:41:13 +0000 Subject: [PATCH 1/3] Update sysinfo requirement from 0.32.0 to 0.33.0 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] --- opensearch/Cargo.toml | 2 +- yaml_test_runner/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opensearch/Cargo.toml b/opensearch/Cargo.toml index 490391ba..1618d03d 100644 --- a/opensearch/Cargo.toml +++ b/opensearch/Cargo.toml @@ -57,7 +57,7 @@ futures = "0.3.1" http-body-util = "0.1.0" hyper = { version = "1", features = ["full"] } hyper-util = { version = "0.1", features = ["full"] } -sysinfo = "0.32.0" +sysinfo = "0.33.0" test-case = "3" textwrap = "0.16" tokio = { version = "1", features = ["full"] } diff --git a/yaml_test_runner/Cargo.toml b/yaml_test_runner/Cargo.toml index d215cee1..6ba2441b 100644 --- a/yaml_test_runner/Cargo.toml +++ b/yaml_test_runner/Cargo.toml @@ -31,7 +31,7 @@ serde_yaml = "0.9" serde_json = { version = "1", features = ["arbitrary_precision"] } simple_logger = "5.0.0" syn = { version = "2.0", features = ["full"] } -sysinfo = "0.32" +sysinfo = "0.33" url = "2.1.1" tar = "0.4" flate2 = "1" From 36bf61f7e2af6111bb6427adeeb689e4dbca9acb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 9 Dec 2024 17:41:30 +0000 Subject: [PATCH 2/3] Update changelog Signed-off-by: dependabot[bot] --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55394bc0..db631e42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added middleware types to allow intercepting construction and handling of the underlying `reqwest` client & requests ([#232](https://github.com/opensearch-project/opensearch-rs/pull/232)) ### Dependencies -- Bumps `sysinfo` from 0.31.2 to 0.32.0 +- Bumps `sysinfo` from 0.31.2 to 0.33.0 - Bumps `thiserror` from 1 to 2 ### Changed From 3c1547619888cd90790fb8560621ce66db6c70be Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Tue, 10 Dec 2024 10:58:14 +1300 Subject: [PATCH 3/3] Fix compilation Signed-off-by: Thomas Farr --- opensearch/examples/cat_indices.rs | 2 +- opensearch/tests/common/client.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opensearch/examples/cat_indices.rs b/opensearch/examples/cat_indices.rs index e7f58c37..13d23aeb 100644 --- a/opensearch/examples/cat_indices.rs +++ b/opensearch/examples/cat_indices.rs @@ -68,7 +68,7 @@ fn create_client() -> Result { /// Determines if Fiddler.exe proxy process is running fn running_proxy() -> bool { let system = System::new_with_specifics( - RefreshKind::new().with_processes(ProcessRefreshKind::default()), + RefreshKind::nothing().with_processes(ProcessRefreshKind::default()), ); let has_fiddler = system .processes_by_name(OsStr::new("Fiddler")) diff --git a/opensearch/tests/common/client.rs b/opensearch/tests/common/client.rs index 974c46c7..3c7b393c 100644 --- a/opensearch/tests/common/client.rs +++ b/opensearch/tests/common/client.rs @@ -59,7 +59,7 @@ pub fn cluster_addr() -> String { /// Checks if Fiddler proxy process is running fn running_proxy() -> bool { let system = System::new_with_specifics( - RefreshKind::new().with_processes(ProcessRefreshKind::default()), + RefreshKind::nothing().with_processes(ProcessRefreshKind::default()), ); let has_fiddler = system .processes_by_name(OsStr::new("Fiddler"))