diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 01928e40e..506060cf9 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 - ninja - notebook -- 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 fd6299d17..566aa2327 100644 --- a/conda/environments/all_cuda-122_arch-x86_64.yaml +++ b/conda/environments/all_cuda-122_arch-x86_64.yaml @@ -33,7 +33,7 @@ dependencies: - nbsphinx - ninja - notebook -- numpy>=1.23 +- numpy>=1.23,<2.0a0 - numpydoc - pre-commit - proj diff --git a/conda/recipes/cuspatial/meta.yaml b/conda/recipes/cuspatial/meta.yaml index 9d57ca7c7..c2c60133d 100644 --- a/conda/recipes/cuspatial/meta.yaml +++ b/conda/recipes/cuspatial/meta.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2023, NVIDIA CORPORATION. +# Copyright (c) 2018-2024, NVIDIA CORPORATION. {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} @@ -75,7 +75,7 @@ requirements: - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - cudf ={{ minor_version }} - geopandas >=0.11.0 - - numpy >=1.23 + - numpy >=1.23,<2.0a0 - python - rmm ={{ minor_version }} diff --git a/dependencies.yaml b/dependencies.yaml index e8a75bc05..fabb4149e 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -335,7 +335,7 @@ dependencies: - output_types: [conda, requirements, pyproject] packages: - geopandas>=0.11.0 - - &numpy numpy>=1.23 + - &numpy numpy>=1.23,<2.0a0 test_python_cuspatial: common: - output_types: [conda, requirements, pyproject] diff --git a/python/cuproj/pyproject.toml b/python/cuproj/pyproject.toml index fa073fec2..698482319 100644 --- a/python/cuproj/pyproject.toml +++ b/python/cuproj/pyproject.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023, NVIDIA CORPORATION. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -51,7 +51,7 @@ classifiers = [ test = [ "cuspatial==24.4.*", "geopandas>=0.11.0", - "numpy>=1.23", + "numpy>=1.23,<2.0a0", "pyproj>=3.6.0,<3.7a0", "pytest", "pytest-cov", diff --git a/python/cuspatial/pyproject.toml b/python/cuspatial/pyproject.toml index 15b1053be..e58b6bd54 100644 --- a/python/cuspatial/pyproject.toml +++ b/python/cuspatial/pyproject.toml @@ -38,7 +38,7 @@ requires-python = ">=3.9" dependencies = [ "cudf==24.4.*", "geopandas>=0.11.0", - "numpy>=1.23", + "numpy>=1.23,<2.0a0", "rmm==24.4.*", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [