From 3fde55f8b9ff2c1267371ee2c1c71335f9056fad Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 12 Mar 2024 17:31:26 -0500 Subject: [PATCH] Add upper bound to prevent usage of NumPy 2. --- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-122_arch-x86_64.yaml | 2 +- dependencies.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 126a1ae02..190c5d319 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -30,7 +30,7 @@ dependencies: - nbsphinx - nccl - ninja -- numpy>=1.23 +- numpy>=1.23,<2.0a0 - 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 5f765c652..732e9fcff 100644 --- a/conda/environments/all_cuda-122_arch-x86_64.yaml +++ b/conda/environments/all_cuda-122_arch-x86_64.yaml @@ -31,7 +31,7 @@ dependencies: - nbsphinx - nccl - ninja -- numpy>=1.23 +- numpy>=1.23,<2.0a0 - numpydoc - pre-commit - pydata-sphinx-theme diff --git a/dependencies.yaml b/dependencies.yaml index 2425d2e37..c699ba389 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -213,7 +213,7 @@ dependencies: - output_types: [conda, requirements] packages: - ninja - - numpy>=1.23 + - numpy>=1.23,<2.0a0 - pytest - pytest-forked - pytest-xdist