From be9da776ca8b1fc99145b85857f061157fcb9e95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 11:53:13 +0000 Subject: [PATCH] Update ndarray-rand requirement from 0.15 to 0.16 Updates the requirements on [ndarray-rand](https://github.com/rust-ndarray/ndarray) to permit the latest version. - [Release notes](https://github.com/rust-ndarray/ndarray/releases) - [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md) - [Commits](https://github.com/rust-ndarray/ndarray/compare/ndarray-rand-0.15.0...ndarray-rand-0.16.0) --- updated-dependencies: - dependency-name: ndarray-rand dependency-version: 0.16.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- algorithms/linfa-clustering/Cargo.toml | 2 +- algorithms/linfa-elasticnet/Cargo.toml | 2 +- algorithms/linfa-ensemble/Cargo.toml | 2 +- algorithms/linfa-ftrl/Cargo.toml | 2 +- algorithms/linfa-hierarchical/Cargo.toml | 2 +- algorithms/linfa-ica/Cargo.toml | 2 +- algorithms/linfa-nn/Cargo.toml | 2 +- algorithms/linfa-pls/Cargo.toml | 2 +- algorithms/linfa-preprocessing/Cargo.toml | 2 +- algorithms/linfa-reduction/Cargo.toml | 2 +- algorithms/linfa-svm/Cargo.toml | 2 +- algorithms/linfa-trees/Cargo.toml | 2 +- algorithms/linfa-tsne/Cargo.toml | 2 +- datasets/Cargo.toml | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e6efcfd48..8b7766b87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,7 +56,7 @@ default-features = false features = ["std", "derive"] [dev-dependencies] -ndarray-rand = "0.15" +ndarray-rand = "0.16" linfa-datasets = { path = "datasets", features = [ "winequality", "iris", diff --git a/algorithms/linfa-clustering/Cargo.toml b/algorithms/linfa-clustering/Cargo.toml index 6ba9fccd4..9cb9bd3d2 100644 --- a/algorithms/linfa-clustering/Cargo.toml +++ b/algorithms/linfa-clustering/Cargo.toml @@ -38,7 +38,7 @@ features = ["std", "derive"] ndarray = { version = "0.16", features = ["rayon", "approx"] } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } -ndarray-rand = "0.15" +ndarray-rand = "0.16" ndarray-stats = "0.6" num-traits = "0.2" rand_xoshiro = "0.6" diff --git a/algorithms/linfa-elasticnet/Cargo.toml b/algorithms/linfa-elasticnet/Cargo.toml index 79577cf50..bdbfc4422 100644 --- a/algorithms/linfa-elasticnet/Cargo.toml +++ b/algorithms/linfa-elasticnet/Cargo.toml @@ -44,5 +44,5 @@ linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ "diabetes", "linnerud", ] } -ndarray-rand = "0.15" +ndarray-rand = "0.16" rand_xoshiro = "0.6" diff --git a/algorithms/linfa-ensemble/Cargo.toml b/algorithms/linfa-ensemble/Cargo.toml index 72122a113..db9e414de 100644 --- a/algorithms/linfa-ensemble/Cargo.toml +++ b/algorithms/linfa-ensemble/Cargo.toml @@ -28,7 +28,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.16", features = ["rayon", "approx"] } -ndarray-rand = "0.15" +ndarray-rand = "0.16" rand = "0.8.5" linfa = { version = "0.8.0", path = "../.." } diff --git a/algorithms/linfa-ftrl/Cargo.toml b/algorithms/linfa-ftrl/Cargo.toml index 1e3845c87..9d495c541 100644 --- a/algorithms/linfa-ftrl/Cargo.toml +++ b/algorithms/linfa-ftrl/Cargo.toml @@ -25,7 +25,7 @@ features = ["derive"] [dependencies] ndarray = { version = "0.16", features = ["serde"] } -ndarray-rand = "0.15.0" +ndarray-rand = "0.16.0" argmin = { version = "0.11.0", default-features = false } argmin-math = { version = "0.5", features = ["ndarray_v0_16-nolinalg"] } thiserror = "2.0" diff --git a/algorithms/linfa-hierarchical/Cargo.toml b/algorithms/linfa-hierarchical/Cargo.toml index 67e345f88..1c5e68dd3 100644 --- a/algorithms/linfa-hierarchical/Cargo.toml +++ b/algorithms/linfa-hierarchical/Cargo.toml @@ -29,7 +29,7 @@ linfa-kernel = { version = "0.8.0", path = "../linfa-kernel" } [dev-dependencies] rand = "0.8" -ndarray-rand = "0.15" +ndarray-rand = "0.16" linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ "iris", ] } diff --git a/algorithms/linfa-ica/Cargo.toml b/algorithms/linfa-ica/Cargo.toml index f6ac6685a..487527ec3 100644 --- a/algorithms/linfa-ica/Cargo.toml +++ b/algorithms/linfa-ica/Cargo.toml @@ -28,7 +28,7 @@ features = ["std", "derive"] ndarray = { version = "0.16" } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } -ndarray-rand = "0.15" +ndarray-rand = "0.16" ndarray-stats = "0.6" num-traits = "0.2" rand_xoshiro = "0.6" diff --git a/algorithms/linfa-nn/Cargo.toml b/algorithms/linfa-nn/Cargo.toml index bbf427882..0f62ffcf4 100644 --- a/algorithms/linfa-nn/Cargo.toml +++ b/algorithms/linfa-nn/Cargo.toml @@ -39,7 +39,7 @@ linfa = { version = "0.8.0", path = "../.." } approx = "0.5" criterion = "0.5" rand_xoshiro = "0.6" -ndarray-rand = "0.15" +ndarray-rand = "0.16" linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] } [[bench]] diff --git a/algorithms/linfa-pls/Cargo.toml b/algorithms/linfa-pls/Cargo.toml index 1a6735687..e4494e97d 100644 --- a/algorithms/linfa-pls/Cargo.toml +++ b/algorithms/linfa-pls/Cargo.toml @@ -29,7 +29,7 @@ ndarray = { version = "0.16" } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } ndarray-stats = "0.6" -ndarray-rand = "0.15" +ndarray-rand = "0.16" num-traits = "0.2" paste = "1.0" thiserror = "2.0" diff --git a/algorithms/linfa-preprocessing/Cargo.toml b/algorithms/linfa-preprocessing/Cargo.toml index 3d21363ff..c72a2a245 100644 --- a/algorithms/linfa-preprocessing/Cargo.toml +++ b/algorithms/linfa-preprocessing/Cargo.toml @@ -25,7 +25,7 @@ linfa-linalg = { version = "0.2", default-features = false } ndarray-stats = "0.6" thiserror = "2.0" approx = "0.5" -ndarray-rand = "0.15" +ndarray-rand = "0.16" unicode-normalization = "0.1.8" regex = "1.4.5" encoding = "0.2" diff --git a/algorithms/linfa-reduction/Cargo.toml b/algorithms/linfa-reduction/Cargo.toml index df33a82af..61834fbab 100644 --- a/algorithms/linfa-reduction/Cargo.toml +++ b/algorithms/linfa-reduction/Cargo.toml @@ -37,7 +37,7 @@ features = ["std", "derive"] ndarray = { version = "0.16", features = ["approx"] } linfa-linalg = { version = "0.2" } ndarray-linalg = { version = "0.17", optional = true } -ndarray-rand = "0.15" +ndarray-rand = "0.16" num-traits = "0.2" thiserror = "2.0" rand = { version = "0.8", features = ["small_rng"] } diff --git a/algorithms/linfa-svm/Cargo.toml b/algorithms/linfa-svm/Cargo.toml index cf8623d50..75141c875 100644 --- a/algorithms/linfa-svm/Cargo.toml +++ b/algorithms/linfa-svm/Cargo.toml @@ -25,7 +25,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.16" } -ndarray-rand = "0.15" +ndarray-rand = "0.16" num-traits = "0.2" thiserror = "2.0" diff --git a/algorithms/linfa-trees/Cargo.toml b/algorithms/linfa-trees/Cargo.toml index b2cf64e1c..02201df13 100644 --- a/algorithms/linfa-trees/Cargo.toml +++ b/algorithms/linfa-trees/Cargo.toml @@ -25,7 +25,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.16", features = ["rayon", "approx"] } -ndarray-rand = "0.15" +ndarray-rand = "0.16" linfa = { version = "0.8.0", path = "../.." } diff --git a/algorithms/linfa-tsne/Cargo.toml b/algorithms/linfa-tsne/Cargo.toml index ee33a3304..d22fbb8d1 100644 --- a/algorithms/linfa-tsne/Cargo.toml +++ b/algorithms/linfa-tsne/Cargo.toml @@ -16,7 +16,7 @@ categories = ["algorithms", "mathematics", "science"] [dependencies] thiserror = "2.0" ndarray = { version = "0.16" } -ndarray-rand = "0.15" +ndarray-rand = "0.16" bhtsne = "0.4.0" pdqselect = "=0.1.1" diff --git a/datasets/Cargo.toml b/datasets/Cargo.toml index 15e62c5bd..246603302 100644 --- a/datasets/Cargo.toml +++ b/datasets/Cargo.toml @@ -13,7 +13,7 @@ ndarray = { version = "0.16" } ndarray-csv = "0.5" csv = "1.1" flate2 = "1.0" -ndarray-rand = { version = "0.15", optional = true } +ndarray-rand = { version = "0.16", optional = true } [dev-dependencies] approx = "0.5"