From f55f829437516d24a4b218860b43385ffca6695f Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:22:49 -0500 Subject: [PATCH] topaz: add v0.3.7 (#49178) * topaz: add v0.3.7 Signed-off-by: Shane Nehring * topaz: add older version url Signed-off-by: Shane Nehring --------- Signed-off-by: Shane Nehring --- var/spack/repos/builtin/packages/topaz/package.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/topaz/package.py b/var/spack/repos/builtin/packages/topaz/package.py index eac1701b216..8160b700763 100644 --- a/var/spack/repos/builtin/packages/topaz/package.py +++ b/var/spack/repos/builtin/packages/topaz/package.py @@ -11,18 +11,25 @@ class Topaz(PythonPackage): featuring micrograph and tomogram denoising with DNNs.""" homepage = "https://topaz-em.readthedocs.io/" - pypi = "topaz-em/topaz-em-0.2.5.tar.gz" + pypi = "topaz-em/topaz_em-0.3.7.tar.gz" license("GPL-3.0-or-later") - version("0.2.5", sha256="002a6eb775598b6c4df0225f3a488bfe6a6da9246e8ca42eb4e7d58f694c25cc") + version("0.3.7", sha256="ae3c0d6ccb1e8ad2e4926421442b8cb33a4d01d1ee1dff83174949a9f91cc8a9") + version( + "0.2.5", + sha256="002a6eb775598b6c4df0225f3a488bfe6a6da9246e8ca42eb4e7d58f694c25cc", + url="https://files.pythonhosted.org/packages/source/t/topaz-em/topaz-em-0.2.5.tar.gz", + ) depends_on("py-setuptools", type="build") - depends_on("py-torch@1:", type=("build", "run")) + depends_on("py-torch@1:2.3.1", type=("build", "run")) depends_on("py-torchvision", type=("build", "run")) depends_on("py-numpy@1.11:", type=("build", "run")) - depends_on("py-pandas", type=("build", "run")) + depends_on("py-pandas@0.20.3:", type=("build", "run")) depends_on("py-scikit-learn@0.19.0:", type=("build", "run")) depends_on("py-scipy@0.17.0:", type=("build", "run")) depends_on("py-pillow@6.2.0:", type=("build", "run")) depends_on("py-future", type=("build", "run")) + depends_on("py-tqdm@4.65.0:", type=("build", "run"), when="@0.3.7:") + depends_on("py-h5py@3.7.0:", type=("build", "run"), when="@0.3.7:")