py-lightning: add v2.2.0 (#42577)

This commit is contained in:
Adam J. Stewart 2024-02-12 10:49:17 +01:00 committed by GitHub
parent 1a43fc1e62
commit fbf6db035b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,9 +7,9 @@
class PyLightning(PythonPackage):
"""The Deep Learning framework to train, deploy, and ship AI products Lightning fast."""
"""The deep learning framework to pretrain, finetune and deploy AI models."""
homepage = "https://github.com/Lightning-AI/lightning"
homepage = "https://github.com/Lightning-AI/pytorch-lightning"
pypi = "lightning/lightning-2.0.0.tar.gz"
skip_modules = ["lightning.app", "lightning.data", "lightning.store"]
@ -17,6 +17,7 @@ class PyLightning(PythonPackage):
license("Apache-2.0")
version("2.2.0", sha256="acf47bebc924f443f90a860b84a3f5566933a930adde42e3021abb5cf466c45f")
version("2.1.4", sha256="0e45098c700fa28c604a11ae233ce181b44aeffce2404debebc2616118431d9f")
version("2.1.3", sha256="70867a59e6b67e7720958ceb14476a2a00f34c12ad03680faed3163ed70138e2")
version("2.1.2", sha256="3b2599a8a719916cb03526e6570356809729680c6cda09391232e2aba0a4ed4b")
@ -50,12 +51,14 @@ class PyLightning(PythonPackage):
depends_on("py-numpy@1.17.2:2", type=("build", "run"))
depends_on("py-packaging@20:24", when="@2.1:", type=("build", "run"))
depends_on("py-packaging@17.1:24", when="@:2.0", type=("build", "run"))
depends_on("py-torch@1.12:3", when="@2.1:", type=("build", "run"))
depends_on("py-torch@1.13:3", when="@2.2:", type=("build", "run"))
depends_on("py-torch@1.12:3", when="@2.1", type=("build", "run"))
depends_on("py-torch@1.11:3", when="@2.0", type=("build", "run"))
depends_on("py-torch@1.10:3", when="@:1", type=("build", "run"))
depends_on("py-torchmetrics@0.7:2", when="@2.0.9:", type=("build", "run"))
depends_on("py-torchmetrics@0.7:1", when="@:2.0.8", type=("build", "run"))
depends_on("py-tqdm@4.57:5", type=("build", "run"))
depends_on("py-typing-extensions@4.4:5", when="@2.2:", type=("build", "run"))
depends_on("py-typing-extensions@4:5", type=("build", "run"))
# Only an alias, not actually used by the library