From 736531b5442dfa3de6c4bdaeb84ef4e000fbe82a Mon Sep 17 00:00:00 2001 From: jakirkham Date: Mon, 1 Aug 2022 05:55:32 -0700 Subject: [PATCH] Revert "Allow CuPy 11" (#11409) This reverts PR ( https://github.com/rapidsai/cudf/pull/11393 ). Thus constraining this back to CuPy 10. Authors: - https://github.com/jakirkham Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Michael Wang (https://github.com/isVoid) - Ashwin Srinath (https://github.com/shwina) - Jordan Jacobelli (https://github.com/Ethyling) URL: https://github.com/rapidsai/cudf/pull/11409 --- conda/recipes/cudf/meta.yaml | 2 +- python/cudf/setup.py | 2 +- python/dask_cudf/setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index 5a2b07f0e9c..30a5ebfbbc3 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -50,7 +50,7 @@ requirements: - python - typing_extensions - pandas >=1.0,<1.5.0dev0 - - cupy >=9.5.0,<12.0.0a0 + - cupy >=9.5.0,<11.0.0a0 - numba >=0.54 - numpy - {{ pin_compatible('pyarrow', max_pin='x.x.x') }} *cuda diff --git a/python/cudf/setup.py b/python/cudf/setup.py index d790a123671..2ca132e37cb 100644 --- a/python/cudf/setup.py +++ b/python/cudf/setup.py @@ -81,7 +81,7 @@ def get_cuda_version_from_header(cuda_include_dir, delimeter=""): install_requires.append( "cupy-cuda" + get_cuda_version_from_header(cuda_include_dir) - + ">=9.5.0,<12.0.0a0" + + ">=9.5.0,<11.0.0a0" ) diff --git a/python/dask_cudf/setup.py b/python/dask_cudf/setup.py index 203ce6aa705..575683bc5fa 100644 --- a/python/dask_cudf/setup.py +++ b/python/dask_cudf/setup.py @@ -68,7 +68,7 @@ def get_cuda_version_from_header(cuda_include_dir, delimeter=""): install_requires.append( "cupy-cuda" + get_cuda_version_from_header(cuda_include_dir) - + ">=9.5.0,<12.0.0a0" + + ">=9.5.0,<11.0.0a0" )