py-keras: add v3.1.1 (#43283)
This commit is contained in:
parent
6eaac2270d
commit
f0f092d9f1
@ -22,6 +22,7 @@ class PyKeras(PythonPackage):
|
||||
maintainers("adamjstewart")
|
||||
license("Apache-2.0")
|
||||
|
||||
version("3.1.1", sha256="55558ea228dc38e7667874fd2e83eaf7faeb026e2e8615b36a8616830f7e303b")
|
||||
version("3.1.0", sha256="cac46e053f0493da313e7c9b16379a532b1a38f9f19c7a5fe4578759f4c6aa4d")
|
||||
version("3.0.5", sha256="df3d3795e12c3f6035e811c43c13f1eb41e37241796a0fea120ede4ebe1c4496")
|
||||
version("3.0.4", sha256="ff2204792582e3889c51c77722cc6e8258dbb1ece7db192f5a9bcd1887cf3385")
|
||||
@ -70,7 +71,7 @@ class PyKeras(PythonPackage):
|
||||
depends_on("py-rich", type=("build", "run"), when="@3:")
|
||||
depends_on("py-namex", type=("build", "run"), when="@3:")
|
||||
depends_on("py-h5py", type=("build", "run"))
|
||||
depends_on("py-dm-tree", type=("build", "run"), when="@3:")
|
||||
depends_on("py-optree", type=("build", "run"), when="@3.1:")
|
||||
depends_on("py-ml-dtypes", type=("build", "run"), when="@3.0.5:")
|
||||
|
||||
# requirements-common.txt
|
||||
@ -100,6 +101,7 @@ class PyKeras(PythonPackage):
|
||||
depends_on("bazel", type="build", when="@2.5:2")
|
||||
depends_on("protobuf", type="build", when="@2.5:2")
|
||||
depends_on("pil", type=("build", "run"), when="@:2")
|
||||
depends_on("py-dm-tree", type=("build", "run"), when="@3.0")
|
||||
depends_on("py-portpicker", type=("build", "run"), when="@2.10:2")
|
||||
depends_on("py-pydot", type=("build", "run"), when="@:2")
|
||||
depends_on("py-pyyaml", type=("build", "run"), when="@:2")
|
||||
|
23
var/spack/repos/builtin/packages/py-optree/package.py
Normal file
23
var/spack/repos/builtin/packages/py-optree/package.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack.package import *
|
||||
|
||||
|
||||
class PyOptree(PythonPackage):
|
||||
"""Optimized PyTree Utilities."""
|
||||
|
||||
homepage = "https://github.com/metaopt/optree"
|
||||
pypi = "optree/optree-0.10.0.tar.gz"
|
||||
|
||||
license("Apache-2.0")
|
||||
|
||||
version("0.10.0", sha256="dc7e8880f997365083191784d141c790833877af71aec8825c7f2b7f7f43c98e")
|
||||
|
||||
depends_on("cmake@3.11:", type="build")
|
||||
depends_on("python", type=("build", "link", "run"))
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-pybind11", type=("build", "link"))
|
||||
depends_on("py-typing-extensions@4:", type=("build", "run"))
|
Loading…
Reference in New Issue
Block a user