From 6f53b6df888e64891b8bf3e5c3b1c027ec24f7f9 Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Wed, 4 Sep 2024 13:56:42 +0200 Subject: [PATCH] Explicitly ask for numpy 2. --- spack/repo/packages/py-pyprecice/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))