py-tensorflow-estimator: add v2.10 (#32940)

* py-tensorflow-estimator: add v2.10

* Typo fix
This commit is contained in:
Adam J. Stewart 2022-10-04 13:48:11 -05:00 committed by GitHub
parent 4bd537574b
commit 7fdfdea0c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ class PyTensorflowEstimator(Package):
maintainers = ["aweits"] maintainers = ["aweits"]
version("2.10", sha256="60df309377cf4e584ca20198f9639beb685d50616395f50770fc0999092d6d85")
version("2.9.0", sha256="62d7b5a574d9c995542f6cb485ff1c18ad115afd9ec6d63437b2aab227c35ef6") version("2.9.0", sha256="62d7b5a574d9c995542f6cb485ff1c18ad115afd9ec6d63437b2aab227c35ef6")
version("2.8.0", sha256="58a2c3562ca6491c257e9a4d9bd8825667883257edcdb452181efa691c586b17") version("2.8.0", sha256="58a2c3562ca6491c257e9a4d9bd8825667883257edcdb452181efa691c586b17")
version("2.7.0", sha256="e5164e802638d3cf110ecc17912be9d514a9d3354ec48e77200b9403dcc15965") version("2.7.0", sha256="e5164e802638d3cf110ecc17912be9d514a9d3354ec48e77200b9403dcc15965")
@ -31,23 +32,26 @@ class PyTensorflowEstimator(Package):
extends("python") extends("python")
depends_on("python@3.7:", type=("build", "run"), when="@2.9.0") depends_on("python@3.7:", when="@2.9:", type=("build", "run"))
depends_on("py-keras@2.9.0:2.9", type=("build", "run"), when="@2.9.0") for ver in ["2.10", "2.9", "2.8", "2.7", "2.6"]:
depends_on("py-keras@2.8.0:2.8", type=("build", "run"), when="@2.8.0") depends_on("py-keras@" + ver, when="@" + ver, type=("build", "run"))
depends_on("py-keras@2.7.0:2.7", type=("build", "run"), when="@2.7.0")
depends_on("py-keras@2.6.0:2.6", type=("build", "run"), when="@2.6.0") for ver in [
depends_on("py-tensorflow@2.9.0:2.9", type=("build", "run"), when="@2.9.0") "2.10",
depends_on("py-tensorflow@2.8.0:2.8", type=("build", "run"), when="@2.8.0") "2.9",
depends_on("py-tensorflow@2.7.0:2.7", type=("build", "run"), when="@2.7.0") "2.8",
depends_on("py-tensorflow@2.6.0:2.6", type=("build", "run"), when="@2.6.0") "2.7",
depends_on("py-tensorflow@2.5.0:2.5", type=("build", "run"), when="@2.5.0") "2.6",
depends_on("py-tensorflow@2.4.0:2.4", type=("build", "run"), when="@2.4.0") "2.5",
depends_on("py-tensorflow@2.3.0:2.3", type=("build", "run"), when="@2.3.0") "2.4",
depends_on("py-tensorflow@2.2.0:2.2", type=("build", "run"), when="@2.2.0") "2.3",
depends_on("py-tensorflow@2.1.0:2.1", type=("build", "run"), when="@2.1") "2.2",
depends_on("py-tensorflow@2.0.0:2.0", type=("build", "run"), when="@2.0.0") "2.1",
depends_on("py-tensorflow@1.13.1", type=("build", "run"), when="@1.13.0") "2.0",
"1.13",
]:
depends_on("py-tensorflow@" + ver, when="@" + ver, type=("build", "run"))
depends_on("bazel@0.19.0:", type="build") depends_on("bazel@0.19.0:", type="build")
depends_on("py-pip", type="build") depends_on("py-pip", type="build")