From f54055279b72df51d4309dd07efe5d505a93a17c Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Tue, 19 Nov 2024 16:26:24 -0600 Subject: [PATCH] py-hist: dependencies --- var/spack/repos/builtin/packages/py-hist/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-hist/package.py b/var/spack/repos/builtin/packages/py-hist/package.py index 5bce40042fc..8b3e7abe3d0 100644 --- a/var/spack/repos/builtin/packages/py-hist/package.py +++ b/var/spack/repos/builtin/packages/py-hist/package.py @@ -37,7 +37,9 @@ class PyHist(PythonPackage): depends_on("py-boost-histogram@1.3.1:1.3", when="@2.6.1:2.7.1", type=("build", "run")) depends_on("py-boost-histogram@1.3.1:1.4", when="@2.7.2:", type=("build", "run")) depends_on("py-histoprint@2.2.0:", type=("build", "run")) - depends_on("py-numpy@1.14.5:", type=("build", "run")) + depends_on("py-numpy@1.14.5:", type=("build", "run"), when="@:2.7.1") + depends_on("py-numpy@1.14.5:", type=("build", "run"), when="@2.7.2: ^python@:3.11") + depends_on("py-numpy@1.26:", type=("build", "run"), when="@2.7.2: ^python@3.12:") depends_on("py-typing-extensions@3.7:", when="@:2.6 ^python@:3.7", type=("build", "run")) depends_on("py-typing-extensions@4:", when="@2.7: ^python@:3.11", type=("build", "run"))