diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 1dbc7d9979..03c84b29a7 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -21,7 +21,7 @@ dependencies: - libcufile=1.4.0.31 - ninja - numcodecs <0.12.0 -- numpy>=1.23 +- numpy>=1.23,<2.0a0 - numpydoc - nvcc_linux-64=11.8 - nvcomp==3.0.6 diff --git a/conda/environments/all_cuda-122_arch-x86_64.yaml b/conda/environments/all_cuda-122_arch-x86_64.yaml index d6225f9a5c..e1a8f31c5b 100644 --- a/conda/environments/all_cuda-122_arch-x86_64.yaml +++ b/conda/environments/all_cuda-122_arch-x86_64.yaml @@ -20,7 +20,7 @@ dependencies: - libcufile-dev - ninja - numcodecs <0.12.0 -- numpy>=1.23 +- numpy>=1.23,<2.0a0 - numpydoc - nvcomp==3.0.6 - packaging diff --git a/conda/recipes/kvikio/meta.yaml b/conda/recipes/kvikio/meta.yaml index b66be590f1..36f4c06bc1 100644 --- a/conda/recipes/kvikio/meta.yaml +++ b/conda/recipes/kvikio/meta.yaml @@ -69,7 +69,7 @@ requirements: - libkvikio ={{ version }} run: - python - - numpy >=1.23 + - numpy >=1.23,<2.0a0 - cupy >=12.0.0 - zarr # See https://github.com/zarr-developers/numcodecs/pull/475 diff --git a/dependencies.yaml b/dependencies.yaml index 323ede320d..1e17c924f0 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -242,7 +242,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.23 + - numpy>=1.23,<2.0a0 - zarr # See https://github.com/zarr-developers/numcodecs/pull/475 - numcodecs <0.12.0 diff --git a/python/pyproject.toml b/python/pyproject.toml index ee49b103ba..291b57f2c4 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -23,7 +23,7 @@ requires-python = ">=3.9" dependencies = [ "cupy-cuda11x>=12.0.0", "numcodecs <0.12.0", - "numpy>=1.23", + "numpy>=1.23,<2.0a0", "packaging", "zarr", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.