diff --git a/spack/repo/packages/py-pyprecice/package.py b/spack/repo/packages/py-pyprecice/package.py index 1ad1bfcf..83c622b0 100644 --- a/spack/repo/packages/py-pyprecice/package.py +++ b/spack/repo/packages/py-pyprecice/package.py @@ -59,7 +59,7 @@ class PyPyprecice(PythonPackage): depends_on("python@3:", type=("build", "link", "run")) depends_on("py-setuptools@61:71", type="build") - depends_on("py-numpy", type=("build", "link", "run"), when="@develop") # explicitly specity develop + depends_on("py-numpy@2:", type=("build", "link", "run"), when="@develop") # explicitly specity develop depends_on("py-numpy", type=("build", "link", "run"), when="@3.1.1:") depends_on("py-numpy@:1", type=("build", "link", "run"), when="@:3.1.1") depends_on("py-mpi4py", type=("build", "run"))