From 17df58c89a853f6e2a84323d4a1a9d2a0978e694 Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Mon, 4 Jul 2022 03:02:29 -0500 Subject: [PATCH] Pin max version of `cuda-python` to `11.7` (#1062) This PR pins max version of `cuda-python` to `11.7` Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Ashwin Srinath (https://github.com/shwina) - Jordan Jacobelli (https://github.com/Ethyling) URL: https://github.com/rapidsai/rmm/pull/1062 --- conda/environments/rmm_dev_cuda11.5.yml | 2 +- conda/environments/rmm_dev_cuda11.6.yml | 2 +- conda/recipes/rmm/meta.yaml | 4 ++-- python/pyproject.toml | 2 +- python/setup.cfg | 2 +- python/setup.py | 6 +++++- 6 files changed, 11 insertions(+), 7 deletions(-) diff --git a/conda/environments/rmm_dev_cuda11.5.yml b/conda/environments/rmm_dev_cuda11.5.yml index fc9167500..ecfad3812 100644 --- a/conda/environments/rmm_dev_cuda11.5.yml +++ b/conda/environments/rmm_dev_cuda11.5.yml @@ -20,4 +20,4 @@ dependencies: - spdlog>=1.8.5,<1.9 - cython>=0.29,<0.30 - gcovr>=5.0 -- cuda-python>=11.5,<12.0 +- cuda-python>=11.5,<11.7.1 diff --git a/conda/environments/rmm_dev_cuda11.6.yml b/conda/environments/rmm_dev_cuda11.6.yml index 3fa2fbb6e..80a28e6bc 100644 --- a/conda/environments/rmm_dev_cuda11.6.yml +++ b/conda/environments/rmm_dev_cuda11.6.yml @@ -20,4 +20,4 @@ dependencies: - spdlog>=1.8.5,<1.9 - cython>=0.29,<0.30 - gcovr>=5.0 -- cuda-python>=11.6,<12.0 +- cuda-python>=11.6,11.7.1 diff --git a/conda/recipes/rmm/meta.yaml b/conda/recipes/rmm/meta.yaml index 33cbf99df..a4d5f19c3 100644 --- a/conda/recipes/rmm/meta.yaml +++ b/conda/recipes/rmm/meta.yaml @@ -29,7 +29,7 @@ requirements: - {{ compiler('cuda') }} {{ cuda_version }} - sysroot_{{ target_platform }} {{ sysroot_version }} host: - - cuda-python >=11.5,<12.0 + - cuda-python >=11.5,<11.7.1 - cudatoolkit {{ cuda_version }}.* - cython >=0.29,<0.30 - librmm {{ version }}.* @@ -38,7 +38,7 @@ requirements: - setuptools - spdlog>=1.8.5,<2.0.0a0 run: - - cuda-python >=11.5,<12.0 + - cuda-python >=11.5,<11.7.1 - numba >=0.49 - numpy >=1.19 - {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }} diff --git a/python/pyproject.toml b/python/pyproject.toml index 786e7df08..57be17669 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -21,7 +21,7 @@ requires = [ "scikit-build>=0.13.1", "cmake>=3.20.1,!=3.23.0", "ninja", - "cuda-python>=11.5,<12.0", + "cuda-python>=11.5,<11.7.1", ] [tool.black] diff --git a/python/setup.cfg b/python/setup.cfg index de2d6a679..06b44e59f 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -52,7 +52,7 @@ skip= [options] packages = find: install_requires = - cuda-python>=11.5,<12.0 + cuda-python>=11.5,<11.7.1 numpy>=1.19 numba>=0.49 python_requires = >=3.8 diff --git a/python/setup.py b/python/setup.py index 24ac9c7ee..2f91d200b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -34,6 +34,10 @@ ) }, cmdclass=versioneer.get_cmdclass(), - install_requires=["cuda-python>=11.5,<12.0", "numpy>=1.19", "numba>=0.49"], + install_requires=[ + "cuda-python>=11.5,<11.7.1", + "numpy>=1.19", + "numba>=0.49", + ], zip_safe=False, )