From abf1f68c01eaedf028462f604ae86294e1c6fe2c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 7 Dec 2025 10:05:42 +0000 Subject: [PATCH] Update ndarray requirement from 0.16 to 0.17 Updates the requirements on [ndarray](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.16.0...0.17.1) --- updated-dependencies: - dependency-name: ndarray dependency-version: 0.17.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- algorithms/linfa-bayes/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-kernel/Cargo.toml | 2 +- algorithms/linfa-linear/Cargo.toml | 2 +- algorithms/linfa-logistic/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 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 097a202dc..51daef3a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ num-traits = "0.2" rand = { version = "0.8", features = ["small_rng"] } approx = "0.5" -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } ndarray-linalg = { version = "0.17", optional = true } sprs = { version = "=0.11.2", default-features = false } diff --git a/algorithms/linfa-bayes/Cargo.toml b/algorithms/linfa-bayes/Cargo.toml index 297c60610..be186cde7 100644 --- a/algorithms/linfa-bayes/Cargo.toml +++ b/algorithms/linfa-bayes/Cargo.toml @@ -21,7 +21,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } ndarray-stats = "0.6" thiserror = "2.0" diff --git a/algorithms/linfa-clustering/Cargo.toml b/algorithms/linfa-clustering/Cargo.toml index 56e442398..b9e64b4c5 100644 --- a/algorithms/linfa-clustering/Cargo.toml +++ b/algorithms/linfa-clustering/Cargo.toml @@ -35,7 +35,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["rayon", "approx"] } +ndarray = { version = "0.17", features = ["rayon", "approx"] } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } ndarray-rand = "0.15" diff --git a/algorithms/linfa-elasticnet/Cargo.toml b/algorithms/linfa-elasticnet/Cargo.toml index 79577cf50..707924db2 100644 --- a/algorithms/linfa-elasticnet/Cargo.toml +++ b/algorithms/linfa-elasticnet/Cargo.toml @@ -29,7 +29,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } diff --git a/algorithms/linfa-ensemble/Cargo.toml b/algorithms/linfa-ensemble/Cargo.toml index 72122a113..1f0c8e0a6 100644 --- a/algorithms/linfa-ensemble/Cargo.toml +++ b/algorithms/linfa-ensemble/Cargo.toml @@ -27,7 +27,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["rayon", "approx"] } +ndarray = { version = "0.17", features = ["rayon", "approx"] } ndarray-rand = "0.15" rand = "0.8.5" diff --git a/algorithms/linfa-ftrl/Cargo.toml b/algorithms/linfa-ftrl/Cargo.toml index 1e3845c87..4359f9193 100644 --- a/algorithms/linfa-ftrl/Cargo.toml +++ b/algorithms/linfa-ftrl/Cargo.toml @@ -24,7 +24,7 @@ version = "1.0" features = ["derive"] [dependencies] -ndarray = { version = "0.16", features = ["serde"] } +ndarray = { version = "0.17", features = ["serde"] } ndarray-rand = "0.15.0" argmin = { version = "0.11.0", default-features = false } argmin-math = { version = "0.5", features = ["ndarray_v0_16-nolinalg"] } diff --git a/algorithms/linfa-hierarchical/Cargo.toml b/algorithms/linfa-hierarchical/Cargo.toml index 67e345f88..ef4a96d2d 100644 --- a/algorithms/linfa-hierarchical/Cargo.toml +++ b/algorithms/linfa-hierarchical/Cargo.toml @@ -20,7 +20,7 @@ keywords = [ categories = ["algorithms", "mathematics", "science"] [dependencies] -ndarray = { version = "0.16" } +ndarray = { version = "0.17" } kodama = "0.2" thiserror = "2" diff --git a/algorithms/linfa-ica/Cargo.toml b/algorithms/linfa-ica/Cargo.toml index f6ac6685a..bfabde799 100644 --- a/algorithms/linfa-ica/Cargo.toml +++ b/algorithms/linfa-ica/Cargo.toml @@ -25,7 +25,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16" } +ndarray = { version = "0.17" } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } ndarray-rand = "0.15" diff --git a/algorithms/linfa-kernel/Cargo.toml b/algorithms/linfa-kernel/Cargo.toml index dc4f112aa..a6fe18631 100644 --- a/algorithms/linfa-kernel/Cargo.toml +++ b/algorithms/linfa-kernel/Cargo.toml @@ -24,7 +24,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = "0.16" +ndarray = "0.17" num-traits = "0.2" sprs = { version = "=0.11.2", default-features = false } diff --git a/algorithms/linfa-linear/Cargo.toml b/algorithms/linfa-linear/Cargo.toml index 08b2b435e..c1a798eb1 100644 --- a/algorithms/linfa-linear/Cargo.toml +++ b/algorithms/linfa-linear/Cargo.toml @@ -29,7 +29,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } num-traits = "0.2" diff --git a/algorithms/linfa-logistic/Cargo.toml b/algorithms/linfa-logistic/Cargo.toml index 3e0f29935..430f8004e 100644 --- a/algorithms/linfa-logistic/Cargo.toml +++ b/algorithms/linfa-logistic/Cargo.toml @@ -23,7 +23,7 @@ optional = true version = "1.0" [dependencies] -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } ndarray-stats = "0.6.0" num-traits = "0.2" argmin = { version = "0.11.0", default-features = false } diff --git a/algorithms/linfa-nn/Cargo.toml b/algorithms/linfa-nn/Cargo.toml index bbf427882..d7ce5bc4f 100644 --- a/algorithms/linfa-nn/Cargo.toml +++ b/algorithms/linfa-nn/Cargo.toml @@ -24,7 +24,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } ndarray-stats = "0.6" num-traits = "0.2.0" noisy_float = "0.2.0" diff --git a/algorithms/linfa-pls/Cargo.toml b/algorithms/linfa-pls/Cargo.toml index 1a6735687..7ff92ea38 100644 --- a/algorithms/linfa-pls/Cargo.toml +++ b/algorithms/linfa-pls/Cargo.toml @@ -25,7 +25,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16" } +ndarray = { version = "0.17" } linfa-linalg = { version = "0.2", default-features = false } ndarray-linalg = { version = "0.17", optional = true } ndarray-stats = "0.6" diff --git a/algorithms/linfa-preprocessing/Cargo.toml b/algorithms/linfa-preprocessing/Cargo.toml index 05ec1ba4d..fe7a29510 100644 --- a/algorithms/linfa-preprocessing/Cargo.toml +++ b/algorithms/linfa-preprocessing/Cargo.toml @@ -19,7 +19,7 @@ serde = ["serde_crate", "ndarray/serde", "serde_regex"] [dependencies] linfa = { version = "0.8.0", path = "../.." } -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } ndarray-linalg = { version = "0.17", optional = true } linfa-linalg = { version = "0.2", default-features = false } ndarray-stats = "0.6" diff --git a/algorithms/linfa-reduction/Cargo.toml b/algorithms/linfa-reduction/Cargo.toml index dbee2308f..0665c6ebb 100644 --- a/algorithms/linfa-reduction/Cargo.toml +++ b/algorithms/linfa-reduction/Cargo.toml @@ -34,7 +34,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["approx"] } +ndarray = { version = "0.17", features = ["approx"] } linfa-linalg = { version = "0.2" } ndarray-linalg = { version = "0.17", optional = true } ndarray-rand = "0.15" diff --git a/algorithms/linfa-svm/Cargo.toml b/algorithms/linfa-svm/Cargo.toml index cf8623d50..c9a4c1233 100644 --- a/algorithms/linfa-svm/Cargo.toml +++ b/algorithms/linfa-svm/Cargo.toml @@ -24,7 +24,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16" } +ndarray = { version = "0.17" } ndarray-rand = "0.15" num-traits = "0.2" thiserror = "2.0" diff --git a/algorithms/linfa-trees/Cargo.toml b/algorithms/linfa-trees/Cargo.toml index b2cf64e1c..9c674a098 100644 --- a/algorithms/linfa-trees/Cargo.toml +++ b/algorithms/linfa-trees/Cargo.toml @@ -24,7 +24,7 @@ default-features = false features = ["std", "derive"] [dependencies] -ndarray = { version = "0.16", features = ["rayon", "approx"] } +ndarray = { version = "0.17", features = ["rayon", "approx"] } ndarray-rand = "0.15" linfa = { version = "0.8.0", path = "../.." } diff --git a/algorithms/linfa-tsne/Cargo.toml b/algorithms/linfa-tsne/Cargo.toml index ee33a3304..6b694374f 100644 --- a/algorithms/linfa-tsne/Cargo.toml +++ b/algorithms/linfa-tsne/Cargo.toml @@ -15,7 +15,7 @@ categories = ["algorithms", "mathematics", "science"] [dependencies] thiserror = "2.0" -ndarray = { version = "0.16" } +ndarray = { version = "0.17" } ndarray-rand = "0.15" bhtsne = "0.4.0" pdqselect = "=0.1.1" diff --git a/datasets/Cargo.toml b/datasets/Cargo.toml index 92faca4fa..baca9020c 100644 --- a/datasets/Cargo.toml +++ b/datasets/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/rust-ml/linfa" [dependencies] linfa = { version = "0.8.0", path = ".." } -ndarray = { version = "0.16" } +ndarray = { version = "0.17" } ndarray-csv = "=0.5.3" csv = "1.1" flate2 = "1.0"