diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2024-11-28 00:12:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-27 16:12:47 -0700 |
commit | 6b9c099af871e7cfc48d831aaefd542064f8dafa (patch) | |
tree | d170de99c1257d57e54022eaba954e7b280ce864 /var | |
parent | 30814fb4e044c89a6541882ccd4862a875f72390 (diff) | |
download | spack-6b9c099af871e7cfc48d831aaefd542064f8dafa.tar.gz spack-6b9c099af871e7cfc48d831aaefd542064f8dafa.tar.bz2 spack-6b9c099af871e7cfc48d831aaefd542064f8dafa.tar.xz spack-6b9c099af871e7cfc48d831aaefd542064f8dafa.zip |
py-keras: add v3.7.0 (#47816)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-keras/package.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-keras/package.py b/var/spack/repos/builtin/packages/py-keras/package.py index c4c5aa5585..4edf51a82e 100644 --- a/var/spack/repos/builtin/packages/py-keras/package.py +++ b/var/spack/repos/builtin/packages/py-keras/package.py @@ -23,6 +23,7 @@ class PyKeras(PythonPackage): maintainers("adamjstewart") license("Apache-2.0") + version("3.7.0", sha256="a4451a5591e75dfb414d0b84a3fd2fb9c0240cc87ebe7e397f547ce10b0e67b7") version("3.6.0", sha256="405727525a3522ed8f9ec0b46e0667e4c65fcf714a067322c16a00d902ded41d") version("3.5.0", sha256="53ae4f9472ec9d9c6941c82a3fda86969724ace3b7630a94ba0a1f17ba1065c3") version("3.4.1", sha256="34cd9aeaa008914715149234c215657ca758e1b473bd2aab2e211ac967d1f8fe") @@ -74,10 +75,12 @@ class PyKeras(PythonPackage): ) with default_args(type="build"): + # pyproject.toml + depends_on("py-setuptools@61:", when="@3.7:") depends_on("py-setuptools") with default_args(type=("build", "run")): - # setup.py + # pyproject.toml depends_on("python@3.9:", when="@3:") depends_on("python@3.8:", when="@2.12:") depends_on("py-absl-py", when="@2.6:") @@ -98,7 +101,8 @@ class PyKeras(PythonPackage): # requirements-tensorflow-cuda.txt with when("backend=tensorflow"): - depends_on("py-tensorflow@2.17", when="@3.5:") + depends_on("py-tensorflow@2.18", when="@3.7:") + depends_on("py-tensorflow@2.17", when="@3.5:3.6") depends_on("py-tensorflow@2.16.1:2.16", when="@3.0:3.4") # requirements-jax-cuda.txt @@ -109,13 +113,15 @@ class PyKeras(PythonPackage): # requirements-torch-cuda.txt with when("backend=torch"): - depends_on("py-torch@2.4.1", when="@3.6:") + depends_on("py-torch@2.5.1", when="@3.7:") + depends_on("py-torch@2.4.1", when="@3.6") depends_on("py-torch@2.4.0", when="@3.5") depends_on("py-torch@2.2.1", when="@3.1:3.4") depends_on("py-torch@2.1.2", when="@3.0.3:3.0.5") depends_on("py-torch@2.1.1", when="@3.0.1:3.0.2") depends_on("py-torch@2.1.0", when="@3.0.0") - depends_on("py-torchvision@0.19.1", when="@3.6:") + depends_on("py-torchvision@0.20.1", when="@3.7:") + depends_on("py-torchvision@0.19.1", when="@3.6") depends_on("py-torchvision@0.19.0", when="@3.5") depends_on("py-torchvision@0.17.1", when="@3.1:3.4") depends_on("py-torchvision@0.16.2", when="@3.0.3:3.0.5") |