From 061b7ef81ea105d365292a2808eb317738904f45 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 24 Jun 2026 00:39:53 -0500 Subject: [PATCH 1/3] Update CuPy and NumPy dependency specs. --- conda/environments/all_cuda-129_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-129_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-133_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-133_arch-x86_64.yaml | 2 +- conda/recipes/rmm/recipe.yaml | 4 ++-- dependencies.yaml | 10 +++++----- python/rmm/pyproject.toml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index fcab05ae7..ba523c1a1 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -27,7 +27,7 @@ dependencies: - ninja - numba-cuda>=0.22.1 - numba>=0.60.0,<0.65.0 -- numpy>=1.23,<3.0 +- numpy>=2.0,<3.0 - numpydoc - packaging - pre-commit diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index b339916cb..46e100338 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -27,7 +27,7 @@ dependencies: - ninja - numba-cuda>=0.22.1 - numba>=0.60.0,<0.65.0 -- numpy>=1.23,<3.0 +- numpy>=2.0,<3.0 - numpydoc - packaging - pre-commit diff --git a/conda/environments/all_cuda-133_arch-aarch64.yaml b/conda/environments/all_cuda-133_arch-aarch64.yaml index 71d43fa06..6a6f74f74 100644 --- a/conda/environments/all_cuda-133_arch-aarch64.yaml +++ b/conda/environments/all_cuda-133_arch-aarch64.yaml @@ -27,7 +27,7 @@ dependencies: - ninja - numba-cuda>=0.22.1 - numba>=0.60.0,<0.65.0 -- numpy>=1.23,<3.0 +- numpy>=2.0,<3.0 - numpydoc - packaging - pre-commit diff --git a/conda/environments/all_cuda-133_arch-x86_64.yaml b/conda/environments/all_cuda-133_arch-x86_64.yaml index 339427fa9..7f27bc828 100644 --- a/conda/environments/all_cuda-133_arch-x86_64.yaml +++ b/conda/environments/all_cuda-133_arch-x86_64.yaml @@ -27,7 +27,7 @@ dependencies: - ninja - numba-cuda>=0.22.1 - numba>=0.60.0,<0.65.0 -- numpy>=1.23,<3.0 +- numpy>=2.0,<3.0 - numpydoc - packaging - pre-commit diff --git a/conda/recipes/rmm/recipe.yaml b/conda/recipes/rmm/recipe.yaml index 54682ad32..378fa33fa 100644 --- a/conda/recipes/rmm/recipe.yaml +++ b/conda/recipes/rmm/recipe.yaml @@ -84,10 +84,10 @@ requirements: then: cuda-python >=12.9.2,<13.0 else: cuda-python >=13.0.1,<14.0 - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - - numpy >=1.23,<3.0 + - numpy >=2.0,<3.0 - python run_constraints: - - cupy >=13.6.0,!=14.0.0,!=14.1.0 + - cupy >=14.0.1,!=14.1.0 ignore_run_exports: from_package: - cuda-python diff --git a/dependencies.yaml b/dependencies.yaml index 8e4d8eba8..70df2f01d 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -384,7 +384,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.23,<3.0 + - numpy>=2.0,<3.0 specific: - output_types: [conda, requirements, pyproject] matrices: @@ -414,7 +414,7 @@ dependencies: dependencies: "oldest" packages: - numba==0.60.0 - - numpy==1.23.* + - numpy==2.0.* - matrix: packages: - *numba @@ -520,14 +520,14 @@ dependencies: common: - output_types: conda packages: - - cupy>=13.6.0,!=14.0.0,!=14.1.0 + - cupy>=14.0.1,!=14.1.0 specific: - output_types: [requirements, pyproject] matrices: - matrix: cuda: "12.*" packages: - - cupy-cuda12x>=13.6.0,!=14.0.0,!=14.1.0 + - cupy-cuda12x[ctk]>=14.0.1,!=14.1.0 - matrix: packages: - - cupy-cuda13x>=13.6.0,!=14.0.0,!=14.1.0 + - cupy-cuda13x[ctk]>=14.0.1,!=14.1.0 diff --git a/python/rmm/pyproject.toml b/python/rmm/pyproject.toml index 774e53867..1fcdb5acf 100644 --- a/python/rmm/pyproject.toml +++ b/python/rmm/pyproject.toml @@ -21,7 +21,7 @@ requires-python = ">=3.11" dependencies = [ "cuda-python>=13.0.1,<14.0", "librmm==26.8.*,>=0.0.0a0", - "numpy>=1.23,<3.0", + "numpy>=2.0,<3.0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [ "Intended Audience :: Developers", From 6d3eba0c5118bfd2f6c71288d445d3b6bec20d3b Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 26 Jun 2026 09:22:05 -0500 Subject: [PATCH 2/3] Guard CuPy CTK extra for wheel metadata --- dependencies.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/dependencies.yaml b/dependencies.yaml index 70df2f01d..11f5ac464 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -522,12 +522,32 @@ dependencies: packages: - cupy>=14.0.1,!=14.1.0 specific: - - output_types: [requirements, pyproject] + - output_types: requirements + matrices: + - matrix: + cuda: "12.*" + packages: + - cupy-cuda12x>=14.0.1,!=14.1.0 + - matrix: + packages: + - cupy-cuda13x>=14.0.1,!=14.1.0 + - output_types: pyproject matrices: + - matrix: + cuda: "12.*" + use_cuda_wheels: "false" + packages: + - cupy-cuda12x>=14.0.1,!=14.1.0 + - matrix: + cuda: "13.*" + use_cuda_wheels: "false" + packages: + - cupy-cuda13x>=14.0.1,!=14.1.0 - matrix: cuda: "12.*" packages: - cupy-cuda12x[ctk]>=14.0.1,!=14.1.0 + # fallback to CUDA 13 versions if 'cuda' is '13.*' or not provided - matrix: packages: - cupy-cuda13x[ctk]>=14.0.1,!=14.1.0 From f6cb5a573efc8660f526053f6785514d75cf9caa Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 26 Jun 2026 17:35:20 -0500 Subject: [PATCH 3/3] Reuse CuPy dependency anchors --- dependencies.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 11f5ac464..46c806b2c 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -527,22 +527,22 @@ dependencies: - matrix: cuda: "12.*" packages: - - cupy-cuda12x>=14.0.1,!=14.1.0 + - &cupy_cu12 cupy-cuda12x>=14.0.1,!=14.1.0 - matrix: packages: - - cupy-cuda13x>=14.0.1,!=14.1.0 + - &cupy_cu13 cupy-cuda13x>=14.0.1,!=14.1.0 - output_types: pyproject matrices: - matrix: cuda: "12.*" use_cuda_wheels: "false" packages: - - cupy-cuda12x>=14.0.1,!=14.1.0 + - *cupy_cu12 - matrix: cuda: "13.*" use_cuda_wheels: "false" packages: - - cupy-cuda13x>=14.0.1,!=14.1.0 + - *cupy_cu13 - matrix: cuda: "12.*" packages: