py-keras: add v3.7.0 (#47816)
This commit is contained in:
parent
30814fb4e0
commit
6b9c099af8
@ -23,6 +23,7 @@ class PyKeras(PythonPackage):
|
|||||||
maintainers("adamjstewart")
|
maintainers("adamjstewart")
|
||||||
license("Apache-2.0")
|
license("Apache-2.0")
|
||||||
|
|
||||||
|
version("3.7.0", sha256="a4451a5591e75dfb414d0b84a3fd2fb9c0240cc87ebe7e397f547ce10b0e67b7")
|
||||||
version("3.6.0", sha256="405727525a3522ed8f9ec0b46e0667e4c65fcf714a067322c16a00d902ded41d")
|
version("3.6.0", sha256="405727525a3522ed8f9ec0b46e0667e4c65fcf714a067322c16a00d902ded41d")
|
||||||
version("3.5.0", sha256="53ae4f9472ec9d9c6941c82a3fda86969724ace3b7630a94ba0a1f17ba1065c3")
|
version("3.5.0", sha256="53ae4f9472ec9d9c6941c82a3fda86969724ace3b7630a94ba0a1f17ba1065c3")
|
||||||
version("3.4.1", sha256="34cd9aeaa008914715149234c215657ca758e1b473bd2aab2e211ac967d1f8fe")
|
version("3.4.1", sha256="34cd9aeaa008914715149234c215657ca758e1b473bd2aab2e211ac967d1f8fe")
|
||||||
@ -74,10 +75,12 @@ class PyKeras(PythonPackage):
|
|||||||
)
|
)
|
||||||
|
|
||||||
with default_args(type="build"):
|
with default_args(type="build"):
|
||||||
|
# pyproject.toml
|
||||||
|
depends_on("py-setuptools@61:", when="@3.7:")
|
||||||
depends_on("py-setuptools")
|
depends_on("py-setuptools")
|
||||||
|
|
||||||
with default_args(type=("build", "run")):
|
with default_args(type=("build", "run")):
|
||||||
# setup.py
|
# pyproject.toml
|
||||||
depends_on("python@3.9:", when="@3:")
|
depends_on("python@3.9:", when="@3:")
|
||||||
depends_on("python@3.8:", when="@2.12:")
|
depends_on("python@3.8:", when="@2.12:")
|
||||||
depends_on("py-absl-py", when="@2.6:")
|
depends_on("py-absl-py", when="@2.6:")
|
||||||
@ -98,7 +101,8 @@ class PyKeras(PythonPackage):
|
|||||||
|
|
||||||
# requirements-tensorflow-cuda.txt
|
# requirements-tensorflow-cuda.txt
|
||||||
with when("backend=tensorflow"):
|
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")
|
depends_on("py-tensorflow@2.16.1:2.16", when="@3.0:3.4")
|
||||||
|
|
||||||
# requirements-jax-cuda.txt
|
# requirements-jax-cuda.txt
|
||||||
@ -109,13 +113,15 @@ class PyKeras(PythonPackage):
|
|||||||
|
|
||||||
# requirements-torch-cuda.txt
|
# requirements-torch-cuda.txt
|
||||||
with when("backend=torch"):
|
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.4.0", when="@3.5")
|
||||||
depends_on("py-torch@2.2.1", when="@3.1:3.4")
|
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.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.1", when="@3.0.1:3.0.2")
|
||||||
depends_on("py-torch@2.1.0", when="@3.0.0")
|
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.19.0", when="@3.5")
|
||||||
depends_on("py-torchvision@0.17.1", when="@3.1:3.4")
|
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")
|
depends_on("py-torchvision@0.16.2", when="@3.0.3:3.0.5")
|
||||||
|
Loading…
Reference in New Issue
Block a user