From 175714cee6634a40520c51e9aa2938b7183ca5e7 Mon Sep 17 00:00:00 2001 From: brandon-b-miller <53796099+brandon-b-miller@users.noreply.github.com> Date: Mon, 16 Mar 2026 16:14:08 -0500 Subject: [PATCH 1/3] Cap numba-cuda upper bound at <0.29.0 (#7900) This PR sets an upper bound on the `numba-cuda` dependency to `<0.29.0` Authors: - https://github.com/brandon-b-miller - Jim Crist-Harif (https://github.com/jcrist) Approvers: - Gil Forsyth (https://github.com/gforsyth) - Jim Crist-Harif (https://github.com/jcrist) URL: https://github.com/rapidsai/cuml/pull/7900 --- conda/environments/all_cuda-129_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-129_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-131_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-131_arch-x86_64.yaml | 2 +- conda/recipes/cuml/recipe.yaml | 2 +- dependencies.yaml | 6 +++--- python/cuml/pyproject.toml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 23f6d4b9e6..8677229dbd 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -43,7 +43,7 @@ dependencies: - nbsphinx - ninja - nltk -- numba-cuda>=0.22.2 +- numba-cuda>=0.22.2,<0.29.0 - numba>=0.60.0,<0.65.0 - numpy>=1.23,<3.0 - numpydoc diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index 631bb4619b..3f9039dacd 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -43,7 +43,7 @@ dependencies: - nbsphinx - ninja - nltk -- numba-cuda>=0.22.2 +- numba-cuda>=0.22.2,<0.29.0 - numba>=0.60.0,<0.65.0 - numpy>=1.23,<3.0 - numpydoc diff --git a/conda/environments/all_cuda-131_arch-aarch64.yaml b/conda/environments/all_cuda-131_arch-aarch64.yaml index 3b2fe0957d..f42e42c152 100644 --- a/conda/environments/all_cuda-131_arch-aarch64.yaml +++ b/conda/environments/all_cuda-131_arch-aarch64.yaml @@ -43,7 +43,7 @@ dependencies: - nbsphinx - ninja - nltk -- numba-cuda>=0.22.2 +- numba-cuda>=0.22.2,<0.29.0 - numba>=0.60.0,<0.65.0 - numpy>=1.23,<3.0 - numpydoc diff --git a/conda/environments/all_cuda-131_arch-x86_64.yaml b/conda/environments/all_cuda-131_arch-x86_64.yaml index 6270f9aa43..a9c77fe94a 100644 --- a/conda/environments/all_cuda-131_arch-x86_64.yaml +++ b/conda/environments/all_cuda-131_arch-x86_64.yaml @@ -43,7 +43,7 @@ dependencies: - nbsphinx - ninja - nltk -- numba-cuda>=0.22.2 +- numba-cuda>=0.22.2,<0.29.0 - numba>=0.60.0,<0.65.0 - numpy>=1.23,<3.0 - numpydoc diff --git a/conda/recipes/cuml/recipe.yaml b/conda/recipes/cuml/recipe.yaml index 7a1a4ba002..87dd453821 100644 --- a/conda/recipes/cuml/recipe.yaml +++ b/conda/recipes/cuml/recipe.yaml @@ -99,7 +99,7 @@ requirements: - joblib >=0.11 - libcuml =${{ version }} - numba >=0.60.0,<0.65.0 - - numba-cuda >=0.22.2 + - numba-cuda >=0.22.2,<0.29.0 - numpy >=1.23,<3.0 - scikit-learn >=1.4 - scipy >=1.11.0 diff --git a/dependencies.yaml b/dependencies.yaml index 65dc51db73..8a33141af3 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -824,7 +824,7 @@ dependencies: common: - output_types: [conda] packages: - - &numba_cuda numba-cuda>=0.22.2 + - &numba_cuda numba-cuda>=0.22.2,<0.29.0 specific: - output_types: [requirements, pyproject] matrices: @@ -832,12 +832,12 @@ dependencies: cuda: "12.*" cuda_suffixed: "true" packages: - - numba-cuda[cu12]>=0.22.2 + - numba-cuda[cu12]>=0.22.2,<0.29.0 - matrix: cuda: "13.*" cuda_suffixed: "true" packages: - - numba-cuda[cu13]>=0.22.2 + - numba-cuda[cu13]>=0.22.2,<0.29.0 # fallback to numba-cuda with no extra CUDA packages if 'cuda_suffixed' isn't true - matrix: packages: diff --git a/python/cuml/pyproject.toml b/python/cuml/pyproject.toml index 3f1eb992df..716a9bcacf 100644 --- a/python/cuml/pyproject.toml +++ b/python/cuml/pyproject.toml @@ -86,7 +86,7 @@ dependencies = [ "cupy-cuda13x>=13.6.0", "joblib>=0.11", "libcuml==26.4.*,>=0.0.0a0", - "numba-cuda>=0.22.2", + "numba-cuda>=0.22.2,<0.29.0", "numba>=0.60.0,<0.65.0", "numpy>=1.23,<3.0", "packaging", From 8f233f29acbcbab4044d52abe019b339500907b5 Mon Sep 17 00:00:00 2001 From: Simon Adorf Date: Mon, 16 Mar 2026 14:53:40 -0700 Subject: [PATCH 2/3] Remove no_bad_cuml_array_check (#7887) Closes https://github.com/rapidsai/cuml/issues/3148 Authors: - Simon Adorf (https://github.com/csadorf) Approvers: - Victor Lafargue (https://github.com/viclafargue) - Jim Crist-Harif (https://github.com/jcrist) - Gil Forsyth (https://github.com/gforsyth) URL: https://github.com/rapidsai/cuml/pull/7887 --- python/cuml/pyproject.toml | 1 - python/cuml/tests/test_incremental_pca.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/python/cuml/pyproject.toml b/python/cuml/pyproject.toml index 716a9bcacf..1aae54e9f9 100644 --- a/python/cuml/pyproject.toml +++ b/python/cuml/pyproject.toml @@ -25,7 +25,6 @@ markers = [ "stress: Longest running tests focused on stressing hardware compute resources", "mg: Multi-GPU tests", "memleak: Test that checks for memory leaks", - "no_bad_cuml_array_check: Test that should not check for bad CumlArray uses", "ucx: Run _only_ Dask UCXX tests", ] diff --git a/python/cuml/tests/test_incremental_pca.py b/python/cuml/tests/test_incremental_pca.py index 74b6cc35d7..dc5a256c8c 100644 --- a/python/cuml/tests/test_incremental_pca.py +++ b/python/cuml/tests/test_incremental_pca.py @@ -28,7 +28,6 @@ (500, 250, 14, True, 0.07, "csr", 1, True), ], ) -@pytest.mark.no_bad_cuml_array_check def test_fit( nrows, ncols, @@ -92,7 +91,6 @@ def test_fit( (5000, 4, 2, 0.1, 100, False), ], ) -@pytest.mark.no_bad_cuml_array_check def test_partial_fit( nrows, ncols, n_components, density, batch_size_divider, whiten ): From 5a00a4d0a9b162644273d3979f2ec31575a62e3c Mon Sep 17 00:00:00 2001 From: Simon Adorf Date: Tue, 17 Mar 2026 06:37:13 -0700 Subject: [PATCH 3/3] Bump scipy minimum required version to 1.14.0. (#7857) Addresses https://github.com/rapidsai/build-planning/issues/247 Authors: - Simon Adorf (https://github.com/csadorf) - Jim Crist-Harif (https://github.com/jcrist) Approvers: - Divye Gala (https://github.com/divyegala) - Jim Crist-Harif (https://github.com/jcrist) - Gil Forsyth (https://github.com/gforsyth) URL: https://github.com/rapidsai/cuml/pull/7857 --- conda/environments/all_cuda-129_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-129_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-131_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-131_arch-x86_64.yaml | 2 +- conda/recipes/cuml/recipe.yaml | 2 +- dependencies.yaml | 2 +- docs/source/supported_versions.rst | 6 +++--- python/cuml/pyproject.toml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 8677229dbd..82d93ac072 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -72,7 +72,7 @@ dependencies: - rmm==26.4.*,>=0.0.0a0 - scikit-build-core>=0.11.0 - scikit-learn>=1.5 -- scipy>=1.13.0 +- scipy>=1.14.0 - seaborn - skl2onnx - sphinx diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index 3f9039dacd..23c5a7590e 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -72,7 +72,7 @@ dependencies: - rmm==26.4.*,>=0.0.0a0 - scikit-build-core>=0.11.0 - scikit-learn>=1.5 -- scipy>=1.13.0 +- scipy>=1.14.0 - seaborn - skl2onnx - sphinx diff --git a/conda/environments/all_cuda-131_arch-aarch64.yaml b/conda/environments/all_cuda-131_arch-aarch64.yaml index f42e42c152..b19bfd6769 100644 --- a/conda/environments/all_cuda-131_arch-aarch64.yaml +++ b/conda/environments/all_cuda-131_arch-aarch64.yaml @@ -72,7 +72,7 @@ dependencies: - rmm==26.4.*,>=0.0.0a0 - scikit-build-core>=0.11.0 - scikit-learn>=1.5 -- scipy>=1.13.0 +- scipy>=1.14.0 - seaborn - skl2onnx - sphinx diff --git a/conda/environments/all_cuda-131_arch-x86_64.yaml b/conda/environments/all_cuda-131_arch-x86_64.yaml index a9c77fe94a..b801a809ac 100644 --- a/conda/environments/all_cuda-131_arch-x86_64.yaml +++ b/conda/environments/all_cuda-131_arch-x86_64.yaml @@ -72,7 +72,7 @@ dependencies: - rmm==26.4.*,>=0.0.0a0 - scikit-build-core>=0.11.0 - scikit-learn>=1.5 -- scipy>=1.13.0 +- scipy>=1.14.0 - seaborn - skl2onnx - sphinx diff --git a/conda/recipes/cuml/recipe.yaml b/conda/recipes/cuml/recipe.yaml index 87dd453821..4fd4459de3 100644 --- a/conda/recipes/cuml/recipe.yaml +++ b/conda/recipes/cuml/recipe.yaml @@ -102,7 +102,7 @@ requirements: - numba-cuda >=0.22.2,<0.29.0 - numpy >=1.23,<3.0 - scikit-learn >=1.4 - - scipy >=1.11.0 + - scipy >=1.14.0 - packaging - pylibraft =${{ minor_version }} - python diff --git a/dependencies.yaml b/dependencies.yaml index 8a33141af3..13636643f4 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -324,7 +324,7 @@ dependencies: - joblib>=0.11 - numba>=0.60.0,<0.65.0 - &numpy numpy>=1.23,<3.0 - - scipy>=1.13.0 + - scipy>=1.14.0 - packaging - rich - &scikit_learn scikit-learn>=1.5 diff --git a/docs/source/supported_versions.rst b/docs/source/supported_versions.rst index d157ff8920..b5bf87ac48 100644 --- a/docs/source/supported_versions.rst +++ b/docs/source/supported_versions.rst @@ -11,11 +11,11 @@ Required Runtime Dependencies The following dependencies are required for the cuML library: * **NumPy**: >=1.23,<3.0a0 -* **scikit-learn**: >=1.4 -* **scipy**: >=1.8.0 +* **scikit-learn**: >=1.5 +* **scipy**: >=1.14.0 * **numba**: >=0.60.0,<0.62.0a0 * **cupy**: cupy-cuda12x>=13.6.0 (CUDA 12), cupy-cuda13x>=13.6.0 (CUDA 13) -* **treelite**: ==4.4.1 +* **treelite**: >=4.6.1,<5.0.0 Dask Runtime Dependencies ------------------------- diff --git a/python/cuml/pyproject.toml b/python/cuml/pyproject.toml index 1aae54e9f9..66ab97607a 100644 --- a/python/cuml/pyproject.toml +++ b/python/cuml/pyproject.toml @@ -93,7 +93,7 @@ dependencies = [ "rich", "rmm==26.4.*,>=0.0.0a0", "scikit-learn>=1.5", - "scipy>=1.13.0", + "scipy>=1.14.0", "treelite>=4.7.0,<5.0.0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [