diff options
author | Melven Roehrig-Zoellner <Melven.Roehrig-Zoellner@DLR.de> | 2024-06-25 09:10:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 01:10:18 -0600 |
commit | adedf58297ada1e683c79defb0cea8ca7ae1d263 (patch) | |
tree | 7896018fb6f10af9730482afefa46c241ee18d21 | |
parent | f13ea8aa75f12f3724591ab5d59a26efd5ade560 (diff) | |
download | spack-adedf58297ada1e683c79defb0cea8ca7ae1d263.tar.gz spack-adedf58297ada1e683c79defb0cea8ca7ae1d263.tar.bz2 spack-adedf58297ada1e683c79defb0cea8ca7ae1d263.tar.xz spack-adedf58297ada1e683c79defb0cea8ca7ae1d263.zip |
py-heat: add v1.4.1 (#44835)
-rw-r--r-- | var/spack/repos/builtin/packages/py-heat/package.py | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-heat/package.py b/var/spack/repos/builtin/packages/py-heat/package.py index 90e5bcaf4c..f14a4c0209 100644 --- a/var/spack/repos/builtin/packages/py-heat/package.py +++ b/var/spack/repos/builtin/packages/py-heat/package.py @@ -18,6 +18,9 @@ class PyHeat(PythonPackage): license("MIT") + version("1.4.1", sha256="ecd871717c372a6983f643c0178dda44bc017d6b32b9258dbf3775af95f580ce") + version("1.4.0", sha256="6836fa10f9ce62ea61cf1bdc3283d7ad0c305836cc5a08c4edfd30695708e788") + version("1.3.1", sha256="8997ddc56a1d3078b44a1e2933adc0a7fbf678bd19bade3ae015bc0e13d40d3b") version("1.3.0", sha256="fa247539a559881ffe574a70227d3c72551e7c4a9fb29b0945578d6a840d1c87") variant("docutils", default=False, description="Use the py-docutils package") @@ -32,15 +35,26 @@ class PyHeat(PythonPackage): description="Use py-scikit-learn and py-matplotlib for the example tests", ) - depends_on("python@3.8:", type=("build", "run")) - depends_on("py-numpy@1.20:", type=("build", "run")) - depends_on("py-torch@1.8:2.0.1", type=("build", "run")) - depends_on("py-scipy@0.14:", type=("build", "run")) - depends_on("pil@6:", type=("build", "run")) - depends_on("py-torchvision@0.8:", type=("build", "run")) - depends_on("py-mpi4py@3:", type=("build", "run")) depends_on("py-setuptools", type="build") + with when("@1.3"): + depends_on("python@3.8:3.10", type=("build", "run")) + depends_on("py-mpi4py@3:", type=("build", "run")) + depends_on("py-numpy@1.20:1", type=("build", "run")) + depends_on("py-torch@1.8:2.0.1", type=("build", "run")) + depends_on("py-scipy@0.14:", type=("build", "run")) + depends_on("pil@6:", type=("build", "run")) + depends_on("py-torchvision@0.8:", type=("build", "run")) + + with when("@1.4"): + depends_on("python@3.8:3.11", type=("build", "run")) + depends_on("py-mpi4py@3:", type=("build", "run")) + depends_on("py-numpy@1.22:1", type=("build", "run")) + depends_on("py-torch@1.11:2.2.2", type=("build", "run")) + depends_on("py-scipy@1.10:", type=("build", "run")) + depends_on("pil@6:", type=("build", "run")) + depends_on("py-torchvision@0.12:", type=("build", "run")) + depends_on("py-docutils@0.16:", when="+docutils", type=("build", "link", "run")) depends_on("py-h5py@2.8.0:", when="+hdf5", type=("build", "link", "run")) depends_on("py-netcdf4@1.5.6:", when="+netcdf", type=("build", "link", "run")) |