summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-backoff/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-lightning-cloud/package.py1
-rw-r--r--var/spack/repos/builtin/packages/py-lightning/package.py15
3 files changed, 30 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-backoff/package.py b/var/spack/repos/builtin/packages/py-backoff/package.py
new file mode 100644
index 0000000000..8ccfcf6811
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-backoff/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2023 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 PyBackoff(PythonPackage):
+ """Function decoration for backoff and retry."""
+
+ homepage = "https://github.com/litl/backoff"
+ pypi = "backoff/backoff-2.2.1.tar.gz"
+
+ version("2.2.1", sha256="03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba")
+
+ depends_on("python@3.7:3", type=("build", "run"))
+ depends_on("py-poetry-core@1:", type="build")
diff --git a/var/spack/repos/builtin/packages/py-lightning-cloud/package.py b/var/spack/repos/builtin/packages/py-lightning-cloud/package.py
index e0f0afca08..908b1a53df 100644
--- a/var/spack/repos/builtin/packages/py-lightning-cloud/package.py
+++ b/var/spack/repos/builtin/packages/py-lightning-cloud/package.py
@@ -12,6 +12,7 @@ class PyLightningCloud(PythonPackage):
homepage = "https://lightning.ai/"
pypi = "lightning_cloud/lightning_cloud-0.5.31.tar.gz"
+ version("0.5.37", sha256="1e0d577e1696e3aef974c589c4bd1ed22c70a332750863a393ec3949166137e0")
version("0.5.36", sha256="990558d93a1b67d8bcbf8a87feb2ac455e13ec5223916ad2d5707d96df9558c9")
version("0.5.31", sha256="a5a138f4abbeffe66ee476fb9a8d621befac0434ffeeeec1cc00ccd3d72ffc09")
diff --git a/var/spack/repos/builtin/packages/py-lightning/package.py b/var/spack/repos/builtin/packages/py-lightning/package.py
index 2c86aee35d..fd85f2c501 100644
--- a/var/spack/repos/builtin/packages/py-lightning/package.py
+++ b/var/spack/repos/builtin/packages/py-lightning/package.py
@@ -16,6 +16,7 @@ class PyLightning(PythonPackage):
maintainers("adamjstewart")
+ version("2.0.5", sha256="77df233129b29c11df7b5e071e24e29420d5efbdbbac9cb6fb4602b7b5afce8a")
version("2.0.4", sha256="f5f5ed75a657caa8931051590ed000d46bf1b8311ae89bb17a961c3f299dbf33")
version("2.0.3", sha256="5a70f05e40f1d7882f81eace0d4a86fe2604b423f8df42beaabd187bfdb420cf")
version("2.0.2", sha256="fa32d671850a5be2d961c6705c927f6f48d1cf9696f61f7d865244142e684430")
@@ -31,16 +32,20 @@ class PyLightning(PythonPackage):
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", 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:2023+http", type=("build", "run"))
+ depends_on("py-fsspec@2022.5:2024+http", when="@2.0.5:", 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.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"))
@@ -49,7 +54,8 @@ class PyLightning(PythonPackage):
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:3", when="@2.0.3:", 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"))
@@ -68,5 +74,6 @@ class PyLightning(PythonPackage):
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@:11", 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"))