From 06002f3008c55a3803077760a68ec87e31dccfa4 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Wed, 28 Feb 2024 13:02:22 -0800 Subject: [PATCH] Requre NumPy 1.23+ (#1488) As NumPy 1.23 is needed for Python 3.11 support, go ahead and bump the minimum NumPy version used by RMM to match that. xref: https://github.com/rapidsai/rmm/pull/1469
Authors: - https://github.com/jakirkham Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Jake Awe (https://github.com/AyodeAwe) URL: https://github.com/rapidsai/rmm/pull/1488 --- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-122_arch-x86_64.yaml | 2 +- conda/recipes/rmm/meta.yaml | 2 +- dependencies.yaml | 2 +- python/pyproject.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 9590a77ce..6b1a1acf1 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -26,7 +26,7 @@ dependencies: - nbsphinx - ninja - numba>=0.57 -- numpy>=1.21 +- numpy>=1.23 - numpydoc - nvcc_linux-64=11.8 - pre-commit diff --git a/conda/environments/all_cuda-122_arch-x86_64.yaml b/conda/environments/all_cuda-122_arch-x86_64.yaml index 7b28ad71e..2756d4ae3 100644 --- a/conda/environments/all_cuda-122_arch-x86_64.yaml +++ b/conda/environments/all_cuda-122_arch-x86_64.yaml @@ -25,7 +25,7 @@ dependencies: - nbsphinx - ninja - numba>=0.57 -- numpy>=1.21 +- numpy>=1.23 - numpydoc - pre-commit - pytest diff --git a/conda/recipes/rmm/meta.yaml b/conda/recipes/rmm/meta.yaml index 83975d0f2..01ac8cea8 100644 --- a/conda/recipes/rmm/meta.yaml +++ b/conda/recipes/rmm/meta.yaml @@ -73,7 +73,7 @@ requirements: {% endif %} - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - numba >=0.57 - - numpy >=1.21 + - numpy >=1.23 test: imports: diff --git a/dependencies.yaml b/dependencies.yaml index 4fed4976b..bc80a1d26 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -217,7 +217,7 @@ dependencies: - output_types: [conda, requirements, pyproject] packages: - numba>=0.57 - - numpy>=1.21 + - numpy>=1.23 specific: - output_types: [conda, requirements, pyproject] matrices: diff --git a/python/pyproject.toml b/python/pyproject.toml index 1005ac2db..f9151ff8d 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -35,7 +35,7 @@ requires-python = ">=3.9" dependencies = [ "cuda-python>=11.7.1,<12.0a0", "numba>=0.57", - "numpy>=1.21", + "numpy>=1.23", ] # 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",