From b3b3a5a6fd5e030354f79165bc7722258210958e Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Sun, 17 Nov 2024 17:54:55 -0500 Subject: [PATCH] Add py-phdf@0.11.4 and add conflict for py-pyhdf@0.10.4 with numpy@1.25: --- var/spack/repos/builtin/packages/py-pyhdf/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/py-pyhdf/package.py b/var/spack/repos/builtin/packages/py-pyhdf/package.py index e1059e20971e20..c7631f64c8c32e 100644 --- a/var/spack/repos/builtin/packages/py-pyhdf/package.py +++ b/var/spack/repos/builtin/packages/py-pyhdf/package.py @@ -20,6 +20,7 @@ class PyPyhdf(PythonPackage): license("MIT") version("master", branch="master") + version("0.11.4", sha256="f4d48ee6f297be76e07b1a31710ef898caa31757dfdf173e5a4b94988ea76164") version("0.10.4", sha256="ea09b2bdafc9be0f7f43d72ff122d8efbde61881f4da3a659b33be5e29215f93") depends_on("c", type="build") # generated @@ -31,6 +32,8 @@ class PyPyhdf(PythonPackage): depends_on("zlib-api", type=("build", "run")) depends_on("hdf@4.2", type=("build", "run")) depends_on("py-numpy", type=("build", "run")) + # https://github.com/fhs/pyhdf/issues/63 + depends_on("py-numpy@:1.24", when="@0.10.4", type=("build", "run")) depends_on("jpeg", type=("build", "run")) def setup_build_environment(self, env):