summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-01-12 18:39:14 +0100
committerGitHub <noreply@github.com>2024-01-12 09:39:14 -0800
commit9c0e5d809be4c947caf272fb93cf243fffe6892c (patch)
treec5635797d7f00c1856e01ce2d19b670cc917d8bc
parent9df047ddceb4de5881ae55c34171eaef929f8f16 (diff)
downloadspack-9c0e5d809be4c947caf272fb93cf243fffe6892c.tar.gz
spack-9c0e5d809be4c947caf272fb93cf243fffe6892c.tar.bz2
spack-9c0e5d809be4c947caf272fb93cf243fffe6892c.tar.xz
spack-9c0e5d809be4c947caf272fb93cf243fffe6892c.zip
py-torchmetrics: add v1.3.0 (#42063)
-rw-r--r--var/spack/repos/builtin/packages/py-torchmetrics/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-torchmetrics/package.py b/var/spack/repos/builtin/packages/py-torchmetrics/package.py
index a60b075975..450dbed134 100644
--- a/var/spack/repos/builtin/packages/py-torchmetrics/package.py
+++ b/var/spack/repos/builtin/packages/py-torchmetrics/package.py
@@ -16,6 +16,7 @@ class PyTorchmetrics(PythonPackage):
license("Apache-2.0")
+ version("1.3.0", sha256="e8ac3adcc61e7a847d0504b0a0e0a3b7f57796178b239c6fafb5d20c0c9460ac")
version("1.2.1", sha256="217387738f84939c39b534b20d4983e737cc448d27aaa5340e0327948d97ca3e")
version("1.2.0", sha256="7eb28340bde45e13187a9ad54a4a7010a50417815d8181a5df6131f116ffe1b7")
version("1.1.1", sha256="65ea34205c0506eecfd06b98f63f4d2a2c5c0e17367cf324e1747adc854c80a5")
@@ -41,15 +42,15 @@ class PyTorchmetrics(PythonPackage):
version("0.2.0", sha256="481a28759acd2d77cc088acba6bc7dc4a356c7cb767da2e1495e91e612e2d548")
# setup.py
- depends_on("python@3.8:", when="@1:", type=("build", "run"))
depends_on("py-setuptools", type="build")
- # requirements.txt (upper bound is removed during processing)
+ # requirements/base.txt (upper bound is removed during processing)
depends_on("py-numpy@1.20.1:", when="@1:", type=("build", "run"))
depends_on("py-numpy@1.17.2:", when="@0.4:", type=("build", "run"))
depends_on("py-numpy", when="@0.3:", type=("build", "run"))
depends_on("py-packaging@17.2:", when="@1.2.1:", type=("build", "run"))
depends_on("py-packaging", when="@0.3:1.1.0", type=("build", "run"))
+ depends_on("py-torch@1.10:", when="@1.3:", type=("build", "run"))
depends_on("py-torch@1.8.1:", when="@0.11:", type=("build", "run"))
depends_on("py-torch@1.3.1:", type=("build", "run"))
depends_on("py-typing-extensions", when="@0.9: ^python@:3.8", type=("build", "run"))