summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-10-16 14:14:46 -0500
committerGitHub <noreply@github.com>2023-10-16 14:14:46 -0500
commit3e3b2877616c2adcfc77008a3fa16757cae10553 (patch)
tree03112076b36f6cec15a09f2fcf2b0fea46eafb54 /var
parent74bbb1ef1bd44283194dc1eea065a066f2387b59 (diff)
downloadspack-3e3b2877616c2adcfc77008a3fa16757cae10553.tar.gz
spack-3e3b2877616c2adcfc77008a3fa16757cae10553.tar.bz2
spack-3e3b2877616c2adcfc77008a3fa16757cae10553.tar.xz
spack-3e3b2877616c2adcfc77008a3fa16757cae10553.zip
py-lightning: add v2.1.0 (#40496)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-lightning/package.py101
1 files changed, 55 insertions, 46 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightning/package.py b/var/spack/repos/builtin/packages/py-lightning/package.py
index 2dc383b1b4..f5131ec071 100644
--- a/var/spack/repos/builtin/packages/py-lightning/package.py
+++ b/var/spack/repos/builtin/packages/py-lightning/package.py
@@ -7,15 +7,15 @@ from spack.package import *
class PyLightning(PythonPackage):
- """Use Lightning Apps to build everything from production-ready,
- multi-cloud ML systems to simple research demos.
- """
+ """The Deep Learning framework to train, deploy, and ship AI products Lightning fast."""
homepage = "https://github.com/Lightning-AI/lightning"
pypi = "lightning/lightning-2.0.0.tar.gz"
+ skip_modules = ["lightning.app", "lightning.data", "lightning.store"]
maintainers("adamjstewart")
+ version("2.1.0", sha256="1f78f5995ae7dcffa1edf34320db136902b73a0d1b304404c48ec8be165b3a93")
version("2.0.9", sha256="2395ece6e29e12064718ff16b8edec5685df7f7095d4fee78edb0a654f5cd7eb")
version("2.0.8", sha256="db914e211b5c3b079a821be6e4344e72d0a729163676a65c4e00aae98390ae7b")
version("2.0.7", sha256="f05acd4ba846505d40125b4f9f0bda0804b2b0356e2ad2fd4e4bf7d1c61c8cc6")
@@ -33,55 +33,64 @@ class PyLightning(PythonPackage):
depends_on("py-setuptools", type="build")
# src/lightning.egg-info/requires.txt
- depends_on("py-jinja2@:4", type=("build", "run"))
depends_on("py-pyyaml@5.4:7", type=("build", "run"))
- depends_on("py-arrow@1.2:2", type=("build", "run"))
- depends_on("py-backoff@2.2.1:3", when="@2.0.5:", type=("build", "run"))
- depends_on("py-beautifulsoup4@4.8:5", type=("build", "run"))
- depends_on("py-click@:9", type=("build", "run"))
- depends_on("py-croniter@1.3:1.4", when="@2.0.5:", type=("build", "run"))
- depends_on("py-croniter@1.3", when="@:2.0.4", type=("build", "run"))
- depends_on("py-dateutils@:1", type=("build", "run"))
- depends_on("py-deepdiff@5.7:7", type=("build", "run"))
- depends_on("py-fastapi@0.92:1", when="@2.0.4:", type=("build", "run"))
- depends_on("py-fastapi@0.69:0.88", when="@2.0.3", type=("build", "run"))
- depends_on("py-fastapi@:0.88", when="@:2.0.2", type=("build", "run"))
- depends_on("py-fsspec@2022.5:2024+http", when="@2.0.5:", type=("build", "run"))
+ depends_on("py-fsspec@2021.6.1:2024+http", when="@2.1:", type=("build", "run"))
+ depends_on("py-fsspec@2022.5:2024+http", when="@2.0.5:2.0", type=("build", "run"))
depends_on("py-fsspec@2022.5:2023+http", when="@:2.0.4", type=("build", "run"))
- depends_on("py-inquirer@2.10:4", type=("build", "run"))
- depends_on("py-lightning-cloud@0.5.38:", when="@2.0.9:", type=("build", "run"))
- depends_on("py-lightning-cloud@0.5.37:", when="@2.0.5:", type=("build", "run"))
- depends_on("py-lightning-cloud@0.5.34:", when="@2.0.3:", type=("build", "run"))
- depends_on("py-lightning-cloud@0.5.31:", when="@2:", type=("build", "run"))
- depends_on("py-lightning-cloud@0.5.27:", when="@:1", type=("build", "run"))
- depends_on("py-lightning-utilities@0.7:1", when="@2:", type=("build", "run"))
+ depends_on("py-lightning-utilities@0.8:1", when="@2.1:", type=("build", "run"))
+ depends_on("py-lightning-utilities@0.7:1", when="@2.0", type=("build", "run"))
depends_on("py-lightning-utilities@0.6.0.post0:1", when="@:1", type=("build", "run"))
depends_on("py-numpy@1.17.2:2", type=("build", "run"))
- depends_on("py-packaging@17.1:24", type=("build", "run"))
- depends_on("py-psutil@:6", type=("build", "run"))
- depends_on("py-pydantic@1.7.4:2.1", when="@2.0.7:", type=("build", "run"))
- depends_on("py-pydantic@1.7.4:2.0", when="@2.0.6", type=("build", "run"))
- depends_on("py-pydantic@1.7.4:1", when="@2.0.5", type=("build", "run"))
- depends_on("py-pydantic@1.7.4:3", when="@2.0.3:2.0.4", type=("build", "run"))
- depends_on("py-pydantic@:2", when="@:2.0.2", type=("build", "run"))
- depends_on("py-python-multipart@0.0.5:1", type=("build", "run"))
- depends_on("py-requests@:3", type=("build", "run"))
- depends_on("py-rich@12.3:14", when="@2:", type=("build", "run"))
- depends_on("py-rich@:14", when="@:1", type=("build", "run"))
- depends_on("py-starlette", when="@2.0.3:", type=("build", "run"))
- depends_on("py-starlette@:1", when="@:2.0.2", type=("build", "run"))
- depends_on("py-starsessions@1.2.1:1", type=("build", "run"))
- depends_on("py-torch@1.11:3", when="@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.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-traitlets@5.3:6", type=("build", "run"))
depends_on("py-typing-extensions@4:5", type=("build", "run"))
- depends_on("py-urllib3@:3", when="@2.0.4:", type=("build", "run"))
- depends_on("py-urllib3@:2", when="@:2.0.3", type=("build", "run"))
- depends_on("py-uvicorn@:1", type=("build", "run"))
- depends_on("py-websocket-client@:2", type=("build", "run"))
- depends_on("py-websockets@:12", when="@2.0.5:", type=("build", "run"))
- depends_on("py-websockets@:11", when="@:2.0.4", type=("build", "run"))
- depends_on("py-pytorch-lightning", when="@2:", type=("build", "run"))
+
+ # Only an alias, not actually used by the library
+ # depends_on("py-pytorch-lightning", when="@2:", type=("build", "run"))
+
+ # Historical requirements
+ with when("@:2.0"):
+ depends_on("py-jinja2@:4", type=("build", "run"))
+ depends_on("py-arrow@1.2:2", type=("build", "run"))
+ depends_on("py-backoff@2.2.1:3", when="@2.0.5:", type=("build", "run"))
+ depends_on("py-beautifulsoup4@4.8:5", type=("build", "run"))
+ depends_on("py-click@:9", type=("build", "run"))
+ depends_on("py-croniter@1.3:1.4", when="@2.0.5:", type=("build", "run"))
+ depends_on("py-croniter@1.3", when="@:2.0.4", type=("build", "run"))
+ depends_on("py-dateutils@:1", type=("build", "run"))
+ depends_on("py-deepdiff@5.7:7", type=("build", "run"))
+ depends_on("py-fastapi@0.92:1", when="@2.0.4:", type=("build", "run"))
+ depends_on("py-fastapi@0.69:0.88", when="@2.0.3", type=("build", "run"))
+ depends_on("py-fastapi@:0.88", when="@:2.0.2", type=("build", "run"))
+ depends_on("py-inquirer@2.10:4", type=("build", "run"))
+ depends_on("py-lightning-cloud@0.5.38:", when="@2.0.9:", type=("build", "run"))
+ depends_on("py-lightning-cloud@0.5.37:", when="@2.0.5:", type=("build", "run"))
+ depends_on("py-lightning-cloud@0.5.34:", when="@2.0.3:", type=("build", "run"))
+ depends_on("py-lightning-cloud@0.5.31:", when="@2:", type=("build", "run"))
+ depends_on("py-lightning-cloud@0.5.27:", when="@:1", type=("build", "run"))
+ depends_on("py-psutil@:6", type=("build", "run"))
+ depends_on("py-pydantic@1.7.4:2.1", when="@2.0.7:", type=("build", "run"))
+ depends_on("py-pydantic@1.7.4:2.0", when="@2.0.6", type=("build", "run"))
+ depends_on("py-pydantic@1.7.4:1", when="@2.0.5", type=("build", "run"))
+ depends_on("py-pydantic@1.7.4:3", when="@2.0.3:2.0.4", type=("build", "run"))
+ depends_on("py-pydantic@:2", when="@:2.0.2", type=("build", "run"))
+ depends_on("py-python-multipart@0.0.5:1", type=("build", "run"))
+ depends_on("py-requests@:3", type=("build", "run"))
+ depends_on("py-rich@12.3:14", when="@2:", type=("build", "run"))
+ depends_on("py-rich@:14", when="@:1", type=("build", "run"))
+ depends_on("py-starlette", when="@2.0.3:", type=("build", "run"))
+ depends_on("py-starlette@:1", when="@:2.0.2", type=("build", "run"))
+ depends_on("py-starsessions@1.2.1:1", type=("build", "run"))
+ depends_on("py-traitlets@5.3:6", type=("build", "run"))
+ depends_on("py-urllib3@:3", when="@2.0.4:", type=("build", "run"))
+ depends_on("py-urllib3@:2", when="@:2.0.3", type=("build", "run"))
+ depends_on("py-uvicorn@:1", type=("build", "run"))
+ depends_on("py-websocket-client@:2", type=("build", "run"))
+ depends_on("py-websockets@:12", when="@2.0.5:", type=("build", "run"))
+ depends_on("py-websockets@:11", when="@:2.0.4", type=("build", "run"))