diff --git a/.github/workflows/benching.yml b/.github/workflows/benching.yml index d45a7b54a..4f0308d5c 100644 --- a/.github/workflows/benching.yml +++ b/.github/workflows/benching.yml @@ -14,8 +14,5 @@ jobs: - name: Install toolchain uses: dtolnay/rust-toolchain@stable - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 - - name: Run cargo bench iai run: cargo bench iai --all diff --git a/.github/workflows/checking.yml b/.github/workflows/checking.yml index e8e72b2aa..7e807b084 100644 --- a/.github/workflows/checking.yml +++ b/.github/workflows/checking.yml @@ -31,9 +31,6 @@ jobs: - name: Log active toolchain run: rustup show - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 - # Check if linfa compiles by itself without uniting dependency features with other crates - name: Run cargo check on linfa run: cargo check diff --git a/.github/workflows/codequality.yml b/.github/workflows/codequality.yml index 0fbf60548..805f1fe4c 100644 --- a/.github/workflows/codequality.yml +++ b/.github/workflows/codequality.yml @@ -22,8 +22,7 @@ jobs: toolchain: ${{ matrix.toolchain }} components: rustfmt, clippy - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 + - name: Run cargo fmt run: cargo fmt --all -- --check @@ -44,8 +43,7 @@ jobs: - name: Install toolchain uses: dtolnay/rust-toolchain@stable - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 + - name: Get rustc version id: rustc-version diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a6fef15ea..3ff991e12 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,8 +15,7 @@ jobs: - name: 'Checkout' uses: actions/checkout@master - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 + - name: 'Build only' uses: shalzz/zola-deploy-action@master @@ -42,8 +41,7 @@ jobs: with: components: rustfmt, rust-src - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 + - name: Build Documentation run: cargo doc --workspace --no-deps diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1b808ef12..6892dbab3 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -25,8 +25,7 @@ jobs: with: toolchain: ${{ matrix.toolchain }} - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 + - name: Run cargo test run: cargo test --release --workspace @@ -53,8 +52,7 @@ jobs: with: toolchain: ${{ matrix.toolchain }} - - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) - run: cargo update -p ndarray:0.17.1 --precise 0.16.1 + - name: Run cargo test with BLAS enabled run: cargo test --release --workspace --features intel-mkl-static,linfa-ica/blas,linfa-reduction/blas,linfa-linear/blas,linfa-preprocessing/blas,linfa-pls/blas,linfa-elasticnet/blas diff --git a/Cargo.toml b/Cargo.toml index e6efcfd48..097a202dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ approx = "0.5" ndarray = { version = "0.16", features = ["approx"] } ndarray-linalg = { version = "0.17", optional = true } -sprs = { version = "0.11", default-features = false } +sprs = { version = "=0.11.2", default-features = false } thiserror = "2.0" diff --git a/algorithms/linfa-clustering/Cargo.toml b/algorithms/linfa-clustering/Cargo.toml index 6ba9fccd4..56e442398 100644 --- a/algorithms/linfa-clustering/Cargo.toml +++ b/algorithms/linfa-clustering/Cargo.toml @@ -56,7 +56,7 @@ linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ criterion = "0.5" serde_json = "1" approx = "0.5" -lax = "0.17.0" +lax = "=0.17.0" linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] } [[bench]] diff --git a/algorithms/linfa-kernel/Cargo.toml b/algorithms/linfa-kernel/Cargo.toml index 7ea18ba20..dc4f112aa 100644 --- a/algorithms/linfa-kernel/Cargo.toml +++ b/algorithms/linfa-kernel/Cargo.toml @@ -26,7 +26,7 @@ features = ["std", "derive"] [dependencies] ndarray = "0.16" num-traits = "0.2" -sprs = { version = "0.11", default-features = false } +sprs = { version = "=0.11.2", default-features = false } linfa = { version = "0.8.0", path = "../.." } linfa-nn = { version = "0.8.0", path = "../linfa-nn" } diff --git a/algorithms/linfa-preprocessing/Cargo.toml b/algorithms/linfa-preprocessing/Cargo.toml index 3d21363ff..05ec1ba4d 100644 --- a/algorithms/linfa-preprocessing/Cargo.toml +++ b/algorithms/linfa-preprocessing/Cargo.toml @@ -29,7 +29,7 @@ ndarray-rand = "0.15" unicode-normalization = "0.1.8" regex = "1.4.5" encoding = "0.2" -sprs = { version = "0.11", default-features = false } +sprs = { version = "=0.11.2", default-features = false } serde_regex = { version = "1.1", optional = true } itertools = "0.14.0" diff --git a/algorithms/linfa-reduction/Cargo.toml b/algorithms/linfa-reduction/Cargo.toml index df33a82af..dbee2308f 100644 --- a/algorithms/linfa-reduction/Cargo.toml +++ b/algorithms/linfa-reduction/Cargo.toml @@ -44,7 +44,7 @@ rand = { version = "0.8", features = ["small_rng"] } linfa = { version = "0.8.0", path = "../.." } linfa-kernel = { version = "0.8.0", path = "../linfa-kernel" } -sprs = { version = "0.11" } +sprs = { version = "=0.11.2" } rand_xoshiro = "0.6.0" [dev-dependencies] diff --git a/datasets/Cargo.toml b/datasets/Cargo.toml index 15e62c5bd..92faca4fa 100644 --- a/datasets/Cargo.toml +++ b/datasets/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://github.com/rust-ml/linfa" [dependencies] linfa = { version = "0.8.0", path = ".." } ndarray = { version = "0.16" } -ndarray-csv = "0.5" +ndarray-csv = "=0.5.3" csv = "1.1" flate2 = "1.0" ndarray-rand = { version = "0.15", optional = true }