diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 833bc8a2ff9..45c81d7372e 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -59,7 +59,7 @@ dependencies: - notebook - numba-cuda>=0.22.2 - numba>=0.60.0,<0.65.0 -- numpy>=1.26,<3.0 +- numpy>=1.23,<3.0 - numpydoc - nvidia-ml-py>=12 - nvtx>=0.2.1 diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index e666a450b31..c736acc24c3 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -59,7 +59,7 @@ dependencies: - notebook - numba-cuda>=0.22.2 - numba>=0.60.0,<0.65.0 -- numpy>=1.26,<3.0 +- numpy>=1.23,<3.0 - numpydoc - nvidia-ml-py>=12 - nvtx>=0.2.1 diff --git a/conda/environments/all_cuda-131_arch-aarch64.yaml b/conda/environments/all_cuda-131_arch-aarch64.yaml index b21d33660d8..50ec86a785c 100644 --- a/conda/environments/all_cuda-131_arch-aarch64.yaml +++ b/conda/environments/all_cuda-131_arch-aarch64.yaml @@ -59,7 +59,7 @@ dependencies: - notebook - numba-cuda>=0.22.2 - numba>=0.60.0,<0.65.0 -- numpy>=1.26,<3.0 +- numpy>=1.23,<3.0 - numpydoc - nvidia-ml-py>=12 - nvtx>=0.2.1 diff --git a/conda/environments/all_cuda-131_arch-x86_64.yaml b/conda/environments/all_cuda-131_arch-x86_64.yaml index aa7382e3895..5eba492905b 100644 --- a/conda/environments/all_cuda-131_arch-x86_64.yaml +++ b/conda/environments/all_cuda-131_arch-x86_64.yaml @@ -59,7 +59,7 @@ dependencies: - notebook - numba-cuda>=0.22.2 - numba>=0.60.0,<0.65.0 -- numpy>=1.26,<3.0 +- numpy>=1.23,<3.0 - numpydoc - nvidia-ml-py>=12 - nvtx>=0.2.1 diff --git a/conda/recipes/cudf/recipe.yaml b/conda/recipes/cudf/recipe.yaml index c6be6b72325..e4d98bb76ae 100644 --- a/conda/recipes/cudf/recipe.yaml +++ b/conda/recipes/cudf/recipe.yaml @@ -93,7 +93,7 @@ requirements: - cupy >=13.6.0,!=14.0.0 - numba-cuda >=0.22.2 - numba >=0.60.0,<0.65.0 - - numpy >=1.26,<3.0 + - numpy >=1.23,<3.0 - pyarrow>=19.0.0 - libcudf =${{ version }} - pylibcudf =${{ version }} diff --git a/conda/recipes/pylibcudf/recipe.yaml b/conda/recipes/pylibcudf/recipe.yaml index 7fb777e6a75..1491b1eb55f 100644 --- a/conda/recipes/pylibcudf/recipe.yaml +++ b/conda/recipes/pylibcudf/recipe.yaml @@ -98,7 +98,7 @@ requirements: - nvtx >=0.2.1 - packaging run_constraints: - - numpy >=1.26,<3.0 + - numpy >=1.23,<3.0 - pyarrow>=19.0.0 ignore_run_exports: from_package: diff --git a/dependencies.yaml b/dependencies.yaml index a6e857499a6..2c3fd409fe5 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -547,7 +547,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.26,<3.0 + - numpy>=1.23,<3.0 pyarrow_run: common: - output_types: [conda] @@ -866,7 +866,7 @@ dependencies: packages: # this is sometimes different from the floor in cudf because # dask imposes its own constraints on 'numpy' (e.g. for 'dask.array') - - numpy==1.26.* + - numpy==1.24.* - matrix: packages: test_python_pylibcudf: @@ -923,7 +923,7 @@ dependencies: matrices: - matrix: {dependencies: "oldest"} packages: - - numpy==1.26.* + - numpy==1.23.* - pyarrow==19.* - matrix: packages: diff --git a/python/cudf/cudf/core/column/temporal_base.py b/python/cudf/cudf/core/column/temporal_base.py index 9331b00e2b9..81d247693b0 100644 --- a/python/cudf/cudf/core/column/temporal_base.py +++ b/python/cudf/cudf/core/column/temporal_base.py @@ -166,7 +166,7 @@ def _normalize_binop_operand(self, other: Any) -> pa.Scalar | ColumnBase: to_unit = self.time_unit if np.isnat(other): # Workaround for https://github.com/numpy/numpy/issues/28496 - # Can always use the astype below once minimum numpy version is 2.4 + # Once fixed, can always use the astype below # call-overload must be ignored because numpy stubs only accept literal strings # for time units (e.g., "ns", "us") to allow compile-time validation, # but we're passing a variable string (to_unit) with a time unit that diff --git a/python/cudf/pyproject.toml b/python/cudf/pyproject.toml index 6d2a5f2ee91..a7004f80fdf 100644 --- a/python/cudf/pyproject.toml +++ b/python/cudf/pyproject.toml @@ -26,7 +26,7 @@ dependencies = [ "libcudf==26.4.*,>=0.0.0a0", "numba-cuda>=0.22.2", "numba>=0.60.0,<0.65.0", - "numpy>=1.26,<3.0", + "numpy>=1.23,<3.0", "nvtx>=0.2.1", "packaging", "pandas>=2.0,<2.4.0", diff --git a/python/cudf_polars/pyproject.toml b/python/cudf_polars/pyproject.toml index 1db547ec978..4177a6adf0b 100644 --- a/python/cudf_polars/pyproject.toml +++ b/python/cudf_polars/pyproject.toml @@ -41,7 +41,7 @@ classifiers = [ [project.optional-dependencies] test = [ "dask-cuda==26.4.*,>=0.0.0a0", - "numpy>=1.26,<3.0", + "numpy>=1.23,<3.0", "pytest", "pytest-cov", "pytest-httpserver", diff --git a/python/dask_cudf/pyproject.toml b/python/dask_cudf/pyproject.toml index 84567d53782..5c4a0e75d04 100644 --- a/python/dask_cudf/pyproject.toml +++ b/python/dask_cudf/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "cudf==26.4.*,>=0.0.0a0", "cupy-cuda13x>=13.6.0,!=14.0.0", "fsspec>=0.6.0", - "numpy>=1.26,<3.0", + "numpy>=1.23,<3.0", "nvidia-ml-py>=12", "pandas>=2.0,<2.4.0", "rapids-dask-dependency==26.4.*,>=0.0.0a0", diff --git a/python/pylibcudf/pyproject.toml b/python/pylibcudf/pyproject.toml index 53abccbab16..aed938c1644 100644 --- a/python/pylibcudf/pyproject.toml +++ b/python/pylibcudf/pyproject.toml @@ -57,7 +57,7 @@ pyarrow = [ "pyarrow>=19.0.0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. numpy = [ - "numpy>=1.26,<3.0", + "numpy>=1.23,<3.0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project.urls]