From aa58765f44d0c85e081f589edf45d58460fcf098 Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Thu, 29 Sep 2022 13:12:45 -0500 Subject: [PATCH] pin numpy version (#11824) ## Description Because of the issue discovered here: https://github.com/rapidsai/cudf/pull/11816, we would like to pin the max version of `numpy` to `<1.23` thus averting the same error in `22.08`. ## Checklist - [x] I am familiar with the [Contributing Guidelines](https://github.com/rapidsai/cudf/blob/HEAD/CONTRIBUTING.md). - [x] New or existing tests cover these changes. - [x] The documentation is up to date with these changes. Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Ray Douglass (https://github.com/raydouglass) --- conda/environments/cudf_dev_cuda11.5.yml | 2 +- conda/recipes/cudf/meta.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conda/environments/cudf_dev_cuda11.5.yml b/conda/environments/cudf_dev_cuda11.5.yml index 8d003ac4e6e..b0e7c0e4eaa 100644 --- a/conda/environments/cudf_dev_cuda11.5.yml +++ b/conda/environments/cudf_dev_cuda11.5.yml @@ -19,7 +19,7 @@ dependencies: - scikit-build>=0.13.1 - python>=3.8,<3.10 - numba>=0.54 - - numpy + - numpy<1.23 - pandas>=1.0,<1.5.0dev0 - pyarrow=8 - fastavro>=0.22.9 diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index 2f1ff50f84a..3161dff9f41 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -52,7 +52,7 @@ requirements: - pandas >=1.0,<1.5.0dev0 - cupy >=9.5.0,<11.0.0a0 - numba >=0.54 - - numpy + - numpy<1.23 - {{ pin_compatible('pyarrow', max_pin='x.x.x') }} - libcudf {{ version }} - fastavro >=0.22.0