diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml index c5df1a7f2e2..12d2a8da97e 100644 --- a/conda-recipe/conda_build_config.yaml +++ b/conda-recipe/conda_build_config.yaml @@ -1,5 +1,5 @@ numpy: - - '1.26' + - '2.0' c_compiler: # [linux] - gcc # [linux] cxx_compiler: # [linux] diff --git a/dpnp/linalg/dpnp_iface_linalg.py b/dpnp/linalg/dpnp_iface_linalg.py index ec48ccf381f..a52402f3d5e 100644 --- a/dpnp/linalg/dpnp_iface_linalg.py +++ b/dpnp/linalg/dpnp_iface_linalg.py @@ -1713,7 +1713,6 @@ def solve(a, b): b_shape = b.shape b_ndim = b.ndim - # compatible with numpy>=2.0 if b_ndim == 0: raise ValueError("b must have at least one dimension") if b_ndim == 1: diff --git a/pyproject.toml b/pyproject.toml index 80c0674f669..4af2590ceb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires = [ "dpctl>=0.20.0", "ninja>=1.11.1; platform_system!='Windows'", # NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule - "numpy>=1.26.0", + "numpy>=2.0.0", "scikit-build>=0.18.1", "setuptools>=79.0.1", "wheel>=0.45.1", @@ -51,7 +51,7 @@ dependencies = [ # "intel-cmplr-lib-rt>=0.59.0" # WARNING: use the latest dpctl dev version, otherwise stable w/f will fail "dpctl>=0.21.0dev0", - "numpy>=1.26.0" + "numpy>=2.0.0" ] description = "Data Parallel Extension for NumPy" dynamic = ["version"]