diff --git a/var/spack/repos/builtin/packages/py-hist/package.py b/var/spack/repos/builtin/packages/py-hist/package.py index 7514f34e272..a94c88ec1b0 100644 --- a/var/spack/repos/builtin/packages/py-hist/package.py +++ b/var/spack/repos/builtin/packages/py-hist/package.py @@ -41,9 +41,9 @@ class PyHist(PythonPackage): depends_on("py-boost-histogram@1.3.1:1.4", when="@2.7.2:", type=("build", "run")) depends_on("py-boost-histogram@1.3.1:1.5", when="@2.8.0:", type=("build", "run")) depends_on("py-histoprint@2.2.0:", 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-numpy@1.14.5:", type=("build", "run"), when="@:2.7.1,2.7.3:") + 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"))