From 0b108b91506d7bd2f525da4f63f2b392af000984 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 15 Jul 2025 16:57:23 -0500 Subject: [PATCH 1/2] Update to dlpack 1.x --- conda/environments/all_cuda-129_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-129_arch-x86_64.yaml | 2 +- conda/recipes/cudf/recipe.yaml | 2 +- conda/recipes/pylibcudf/recipe.yaml | 2 +- cpp/cmake/thirdparty/get_dlpack.cmake | 4 ++-- dependencies.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index f7449e015f9f..556146ca9cef 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -28,7 +28,7 @@ dependencies: - cxx-compiler - cython>=3.0.3 - dask-cuda==25.8.*,>=0.0.0a0 -- dlpack>=0.8,<1.0 +- dlpack==1.* - doxygen=1.9.1 - fastavro>=0.22.9 - flatbuffers==24.3.25 diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index d34654274db7..206dbbc144fe 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -28,7 +28,7 @@ dependencies: - cxx-compiler - cython>=3.0.3 - dask-cuda==25.8.*,>=0.0.0a0 -- dlpack>=0.8,<1.0 +- dlpack==1.* - doxygen=1.9.1 - fastavro>=0.22.9 - flatbuffers==24.3.25 diff --git a/conda/recipes/cudf/recipe.yaml b/conda/recipes/cudf/recipe.yaml index f779cf7ce080..f1aa3d694b84 100644 --- a/conda/recipes/cudf/recipe.yaml +++ b/conda/recipes/cudf/recipe.yaml @@ -54,7 +54,7 @@ requirements: - cython >=3.0.3 - rapids-build-backend >=0.3.0,<0.4.0.dev0 - scikit-build-core >=0.10.0 - - dlpack >=0.8,<1.0 + - dlpack ==1.* - libcudf =${{ version }} - pylibcudf =${{ version }} - rmm =${{ minor_version }} diff --git a/conda/recipes/pylibcudf/recipe.yaml b/conda/recipes/pylibcudf/recipe.yaml index e5fec6983c43..492aad404490 100644 --- a/conda/recipes/pylibcudf/recipe.yaml +++ b/conda/recipes/pylibcudf/recipe.yaml @@ -54,7 +54,7 @@ requirements: - cython >=3.0.3 - rapids-build-backend >=0.3.0,<0.4.0.dev0 - scikit-build-core >=0.10.0 - - dlpack >=0.8,<1.0 + - dlpack ==1.* - libcudf =${{ version }} - rmm =${{ minor_version }} - cuda-cudart-dev diff --git a/cpp/cmake/thirdparty/get_dlpack.cmake b/cpp/cmake/thirdparty/get_dlpack.cmake index 790d6367745d..a1c38cd5dbec 100644 --- a/cpp/cmake/thirdparty/get_dlpack.cmake +++ b/cpp/cmake/thirdparty/get_dlpack.cmake @@ -1,5 +1,5 @@ # ============================================================================= -# Copyright (c) 2020-2024, NVIDIA CORPORATION. +# Copyright (c) 2020-2025, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at @@ -36,6 +36,6 @@ function(find_and_configure_dlpack VERSION) endif() endfunction() -set(CUDF_MIN_VERSION_dlpack 0.8) +set(CUDF_MIN_VERSION_dlpack 1.0) find_and_configure_dlpack(${CUDF_MIN_VERSION_dlpack}) diff --git a/dependencies.yaml b/dependencies.yaml index 5123071d4307..f4e4064c85e1 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -424,7 +424,7 @@ dependencies: packages: - c-compiler - cxx-compiler - - dlpack>=0.8,<1.0 + - dlpack==1.* - zlib>=1.2.13 specific: - output_types: conda From 12aca36cd1df1ccf9b37cf2f0cd260758dc0a6f9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 15 Jul 2025 17:38:26 -0500 Subject: [PATCH 2/2] Fix match spec. --- conda/environments/all_cuda-129_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-129_arch-x86_64.yaml | 2 +- conda/recipes/cudf/recipe.yaml | 2 +- conda/recipes/pylibcudf/recipe.yaml | 2 +- dependencies.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 556146ca9cef..ff138012656f 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -28,7 +28,7 @@ dependencies: - cxx-compiler - cython>=3.0.3 - dask-cuda==25.8.*,>=0.0.0a0 -- dlpack==1.* +- dlpack=1.* - doxygen=1.9.1 - fastavro>=0.22.9 - flatbuffers==24.3.25 diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index 206dbbc144fe..3d77dff7ac96 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -28,7 +28,7 @@ dependencies: - cxx-compiler - cython>=3.0.3 - dask-cuda==25.8.*,>=0.0.0a0 -- dlpack==1.* +- dlpack=1.* - doxygen=1.9.1 - fastavro>=0.22.9 - flatbuffers==24.3.25 diff --git a/conda/recipes/cudf/recipe.yaml b/conda/recipes/cudf/recipe.yaml index f1aa3d694b84..7075818185cf 100644 --- a/conda/recipes/cudf/recipe.yaml +++ b/conda/recipes/cudf/recipe.yaml @@ -54,7 +54,7 @@ requirements: - cython >=3.0.3 - rapids-build-backend >=0.3.0,<0.4.0.dev0 - scikit-build-core >=0.10.0 - - dlpack ==1.* + - dlpack =1.* - libcudf =${{ version }} - pylibcudf =${{ version }} - rmm =${{ minor_version }} diff --git a/conda/recipes/pylibcudf/recipe.yaml b/conda/recipes/pylibcudf/recipe.yaml index 492aad404490..41a512e0bb20 100644 --- a/conda/recipes/pylibcudf/recipe.yaml +++ b/conda/recipes/pylibcudf/recipe.yaml @@ -54,7 +54,7 @@ requirements: - cython >=3.0.3 - rapids-build-backend >=0.3.0,<0.4.0.dev0 - scikit-build-core >=0.10.0 - - dlpack ==1.* + - dlpack =1.* - libcudf =${{ version }} - rmm =${{ minor_version }} - cuda-cudart-dev diff --git a/dependencies.yaml b/dependencies.yaml index f4e4064c85e1..e94ec220400d 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -424,7 +424,7 @@ dependencies: packages: - c-compiler - cxx-compiler - - dlpack==1.* + - dlpack=1.* - zlib>=1.2.13 specific: - output_types: conda