From 95e792e474a1120b3242316b07ef819d84abb05d Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 24 Jun 2026 00:40:19 -0500 Subject: [PATCH 1/4] Update CuPy and NumPy dependency specs. --- conda/environments/all_cuda-129_arch-aarch64.yaml | 4 ++-- conda/environments/all_cuda-129_arch-x86_64.yaml | 4 ++-- conda/environments/all_cuda-133_arch-aarch64.yaml | 4 ++-- conda/environments/all_cuda-133_arch-x86_64.yaml | 4 ++-- conda/recipes/kvikio/recipe.yaml | 4 ++-- dependencies.yaml | 8 ++++---- python/kvikio/pyproject.toml | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 8c6c2f39af..6b075f8b9c 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -11,7 +11,7 @@ dependencies: - cuda-nvcc - cuda-python>=12.9.2,<13.0 - cuda-version=12.9 -- cupy>=13.6.0,!=14.0.0,!=14.1.0 +- cupy>=14.0.1,!=14.1.0 - cxx-compiler - cython>=3.2.2 - doxygen=1.9.1 @@ -21,7 +21,7 @@ dependencies: - libnuma - moto>=4.0.8 - ninja -- 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 770ce75440..f81af85a91 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -11,7 +11,7 @@ dependencies: - cuda-nvcc - cuda-python>=12.9.2,<13.0 - cuda-version=12.9 -- cupy>=13.6.0,!=14.0.0,!=14.1.0 +- cupy>=14.0.1,!=14.1.0 - cxx-compiler - cython>=3.2.2 - doxygen=1.9.1 @@ -21,7 +21,7 @@ dependencies: - libnuma - moto>=4.0.8 - ninja -- 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 c0a4844e9c..5e9bdd79f9 100644 --- a/conda/environments/all_cuda-133_arch-aarch64.yaml +++ b/conda/environments/all_cuda-133_arch-aarch64.yaml @@ -11,7 +11,7 @@ dependencies: - cuda-nvcc - cuda-python>=13.0.1,<14.0 - cuda-version=13.3 -- cupy>=13.6.0,!=14.0.0,!=14.1.0 +- cupy>=14.0.1,!=14.1.0 - cxx-compiler - cython>=3.2.2 - doxygen=1.9.1 @@ -21,7 +21,7 @@ dependencies: - libnuma - moto>=4.0.8 - ninja -- 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 6d00700db0..00ae6a1234 100644 --- a/conda/environments/all_cuda-133_arch-x86_64.yaml +++ b/conda/environments/all_cuda-133_arch-x86_64.yaml @@ -11,7 +11,7 @@ dependencies: - cuda-nvcc - cuda-python>=13.0.1,<14.0 - cuda-version=13.3 -- cupy>=13.6.0,!=14.0.0,!=14.1.0 +- cupy>=14.0.1,!=14.1.0 - cxx-compiler - cython>=3.2.2 - doxygen=1.9.1 @@ -21,7 +21,7 @@ dependencies: - libnuma - moto>=4.0.8 - ninja -- numpy>=1.23,<3.0 +- numpy>=2.0,<3.0 - numpydoc - packaging - pre-commit diff --git a/conda/recipes/kvikio/recipe.yaml b/conda/recipes/kvikio/recipe.yaml index 71eb8a20f5..2af4a7bae7 100644 --- a/conda/recipes/kvikio/recipe.yaml +++ b/conda/recipes/kvikio/recipe.yaml @@ -90,9 +90,9 @@ requirements: - scikit-build-core>=0.11.0 run: - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - - cupy >=13.6.0,!=14.0.0,!=14.1.0 + - cupy >=14.0.1,!=14.1.0 - libkvikio =${{ version }} - - numpy >=1.23,<3.0 + - numpy >=2.0,<3.0 - packaging - python ignore_run_exports: diff --git a/dependencies.yaml b/dependencies.yaml index 0c15e39893..5fc39a6609 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -288,18 +288,18 @@ dependencies: common: - output_types: conda packages: - - &cupy_unsuffixed cupy>=13.6.0,!=14.0.0,!=14.1.0 + - &cupy_unsuffixed 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: cuda: "13.*" packages: - - &cupy_cu13 cupy-cuda13x>=13.6.0,!=14.0.0,!=14.1.0 + - &cupy_cu13 cupy-cuda13x[ctk]>=14.0.1,!=14.1.0 - matrix: packages: - *cupy_cu13 @@ -385,7 +385,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.23,<3.0 + - numpy>=2.0,<3.0 - packaging zarr: common: diff --git a/python/kvikio/pyproject.toml b/python/kvikio/pyproject.toml index cc2eba65f3..e85e7d7dd2 100644 --- a/python/kvikio/pyproject.toml +++ b/python/kvikio/pyproject.toml @@ -19,9 +19,9 @@ authors = [ license = "Apache-2.0" requires-python = ">=3.11" dependencies = [ - "cupy-cuda13x>=13.6.0,!=14.0.0,!=14.1.0", + "cupy-cuda13x[ctk]>=14.0.1,!=14.1.0", "libkvikio==26.8.*,>=0.0.0a0", - "numpy>=1.23,<3.0", + "numpy>=2.0,<3.0", "packaging", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [ From 8ddade906ecd6ffd0d93aa205bcf2f9bd5a72fa4 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 26 Jun 2026 09:22:05 -0500 Subject: [PATCH 2/4] Guard CuPy CTK extra for wheel metadata --- dependencies.yaml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 5fc39a6609..55ee3983ea 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -290,19 +290,36 @@ dependencies: packages: - &cupy_unsuffixed cupy>=14.0.1,!=14.1.0 specific: - - output_types: [requirements, pyproject] + - output_types: requirements matrices: - matrix: cuda: "12.*" packages: - - cupy-cuda12x[ctk]>=14.0.1,!=14.1.0 + - cupy-cuda12x>=14.0.1,!=14.1.0 + # fallback to CUDA 13 versions if 'cuda' is '13.*' or not provided + - 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_cu13 cupy-cuda13x[ctk]>=14.0.1,!=14.1.0 + - 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_cu13 + - cupy-cuda13x[ctk]>=14.0.1,!=14.1.0 depends_on_libkvikio: common: - output_types: conda From 07c4dc561ff66e178705b90c329d8cacb3651e3f Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 26 Jun 2026 10:30:31 -0500 Subject: [PATCH 3/4] copyrights --- conda/recipes/kvikio/recipe.yaml | 2 +- dependencies.yaml | 2 +- python/kvikio/pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conda/recipes/kvikio/recipe.yaml b/conda/recipes/kvikio/recipe.yaml index 2af4a7bae7..03c7b30b89 100644 --- a/conda/recipes/kvikio/recipe.yaml +++ b/conda/recipes/kvikio/recipe.yaml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 schema_version: 1 diff --git a/dependencies.yaml b/dependencies.yaml index 55ee3983ea..9cd339e0f6 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION. +# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Dependency list for https://github.com/rapidsai/dependency-file-generator diff --git a/python/kvikio/pyproject.toml b/python/kvikio/pyproject.toml index e85e7d7dd2..fc7bd49153 100644 --- a/python/kvikio/pyproject.toml +++ b/python/kvikio/pyproject.toml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright (c) 2021-2026, NVIDIA CORPORATION. All rights reserved. +# SPDX-FileCopyrightText: Copyright (c) 2021-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 [build-system] From 4df937d24c5282e9c2145fb7ec91eff6db79c76c Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 26 Jun 2026 17:35:20 -0500 Subject: [PATCH 4/4] Reuse CuPy dependency anchors --- dependencies.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 9cd339e0f6..1a9e65b195 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -295,23 +295,23 @@ dependencies: - matrix: cuda: "12.*" packages: - - cupy-cuda12x>=14.0.1,!=14.1.0 + - &cupy_cu12 cupy-cuda12x>=14.0.1,!=14.1.0 # fallback to CUDA 13 versions if 'cuda' is '13.*' or not provided - 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: