diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 3b90a4f55df..66372fcbd04 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.23,<3.0 +- numpy>=1.26,<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 c20bc970e15..14a8e0cd428 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.23,<3.0 +- numpy>=1.26,<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 ca3766b1b39..71c77adbb90 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.23,<3.0 +- numpy>=1.26,<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 26645728b7e..53026835eb5 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.23,<3.0 +- numpy>=1.26,<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 160e9ad7056..700c4d8c0e1 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.23,<3.0 + - numpy >=1.26,<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 5df1777bffe..f784017c6c4 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.23,<3.0 + - numpy >=1.26,<3.0 - pyarrow>=19.0.0 ignore_run_exports: from_package: diff --git a/dependencies.yaml b/dependencies.yaml index 8912bf78522..1ccc292a983 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -547,7 +547,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - numpy>=1.23,<3.0 + - numpy>=1.26,<3.0 pyarrow_run: common: - output_types: [conda] @@ -862,7 +862,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.24.* + - numpy==1.26.* - matrix: packages: test_python_pylibcudf: @@ -919,7 +919,7 @@ dependencies: matrices: - matrix: {dependencies: "oldest"} packages: - - numpy==1.23.* + - numpy==1.26.* - 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 81d247693b0..9331b00e2b9 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 - # Once fixed, can always use the astype below + # Can always use the astype below once minimum numpy version is 2.4 # 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 62e3690bf50..dccd5b4bafd 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.23,<3.0", + "numpy>=1.26,<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 cb0160c39d0..3bae33c30c0 100644 --- a/python/cudf_polars/pyproject.toml +++ b/python/cudf_polars/pyproject.toml @@ -40,7 +40,7 @@ classifiers = [ [project.optional-dependencies] test = [ "dask-cuda==26.4.*,>=0.0.0a0", - "numpy>=1.23,<3.0", + "numpy>=1.26,<3.0", "pytest", "pytest-cov", "pytest-httpserver", diff --git a/python/dask_cudf/pyproject.toml b/python/dask_cudf/pyproject.toml index ae16819f1b6..f91c886298e 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.23,<3.0", + "numpy>=1.26,<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 619dcf2a645..27d68567825 100644 --- a/python/pylibcudf/pyproject.toml +++ b/python/pylibcudf/pyproject.toml @@ -56,7 +56,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.23,<3.0", + "numpy>=1.26,<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]