summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-08-07 13:34:58 +0200
committerGitHub <noreply@github.com>2024-08-07 13:34:58 +0200
commit5400b1e22235d6c309866f2be8816ecd4208654e (patch)
tree81603bfb5f37d851f844ca275fd913c2692c9017
parentef461befcc827867b64f6fac8193b5e750410fd2 (diff)
downloadspack-5400b1e22235d6c309866f2be8816ecd4208654e.tar.gz
spack-5400b1e22235d6c309866f2be8816ecd4208654e.tar.bz2
spack-5400b1e22235d6c309866f2be8816ecd4208654e.tar.xz
spack-5400b1e22235d6c309866f2be8816ecd4208654e.zip
py-lightly: add v1.5.11 (#45610)
-rw-r--r--var/spack/repos/builtin/packages/py-lightly/package.py82
1 files changed, 51 insertions, 31 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightly/package.py b/var/spack/repos/builtin/packages/py-lightly/package.py
index 5a34d6cfa6..81fe84015f 100644
--- a/var/spack/repos/builtin/packages/py-lightly/package.py
+++ b/var/spack/repos/builtin/packages/py-lightly/package.py
@@ -17,6 +17,7 @@ class PyLightly(PythonPackage):
license("MIT")
+ version("1.5.11", sha256="2c19c0e5841b7477323ef3ffca234a60a57c0aaf6753a55c2a75d72cde9c0719")
version("1.5.0", sha256="db49e2bafe3bc70df7f3248ad08bef4948e957c1bc5cde3769ec2b190b51eedb")
version("1.4.26", sha256="7bbcf0a358f23659eb4089043c559c4584ef339266b1c0a9a2598c3100f2f3b8")
version("1.4.25", sha256="c16449ee5788a7ac98dd78c1fa32702a426c718519d79522d726469d6ca119a0")
@@ -34,41 +35,60 @@ class PyLightly(PythonPackage):
version("1.4.7", sha256="dce719996d9b01b2a3c652e9cbab3ff80d078c4ed86d1adb39220d20e1f3fdf2")
version("1.4.6", sha256="1c8b904a96fadaefbaa00296eea0ac1e8b50cb10e94595c74b0abada5f4f5a64")
version("1.4.5", sha256="67b1de64950ff5bc35ef86fec3049f437ed1c9cb4a191c43b52384460207535f")
- version("1.4.4", sha256="e726120437ee61754da8e1c384d2ed27d9a7004e037c74d98e3debbc98cbd4a4")
- version("1.4.3", sha256="ff2cfded234bc5338519bdb2de774c59a55200159f4429b009b7a3923bc0be0e")
- version("1.4.2", sha256="bae451fcd04fbd3cc14b044a2583ae24591533d4a8a6ff51e5f1477f9a077648")
- version("1.4.1", sha256="4c64657639c66ee5c8b4b8d300fc9b5287dc7e14a260f3a2e04917dca7f57f5b")
+ version(
+ "1.4.4",
+ sha256="e726120437ee61754da8e1c384d2ed27d9a7004e037c74d98e3debbc98cbd4a4",
+ deprecated=True,
+ )
+ version(
+ "1.4.3",
+ sha256="ff2cfded234bc5338519bdb2de774c59a55200159f4429b009b7a3923bc0be0e",
+ deprecated=True,
+ )
+ version(
+ "1.4.2",
+ sha256="bae451fcd04fbd3cc14b044a2583ae24591533d4a8a6ff51e5f1477f9a077648",
+ deprecated=True,
+ )
+ version(
+ "1.4.1",
+ sha256="4c64657639c66ee5c8b4b8d300fc9b5287dc7e14a260f3a2e04917dca7f57f5b",
+ deprecated=True,
+ )
- # setup.py
- depends_on("py-setuptools@21:", when="@1.4.2:", type="build")
- depends_on("py-setuptools@21:", when="@1.4.8,1.4.15:1.4.25", type=("build", "run"))
- depends_on("py-setuptools@21:65.5.1", when="@:1.4.1", type=("build", "run"))
+ with default_args(type="build"):
+ depends_on("py-setuptools@21:", when="@1.4.2:")
+ depends_on("py-setuptools-scm", when="@1.5.11:")
- # requirements/base.txt
- depends_on("py-certifi@14.05.14:", type=("build", "run"))
- depends_on("py-hydra-core@1:", type=("build", "run"))
- depends_on("py-lightly-utils@0.0", type=("build", "run"))
- depends_on("py-numpy@1.18.1:", type=("build", "run"))
- # https://github.com/lightly-ai/lightly/issues/1558
- depends_on("py-numpy@:1", type=("build", "run"))
- depends_on("py-python-dateutil@2.5.3:", type=("build", "run"))
- depends_on("py-requests@2.23:", type=("build", "run"))
- depends_on("py-six@1.10:", type=("build", "run"))
- depends_on("py-tqdm@4.44:", type=("build", "run"))
- depends_on("py-urllib3@1.25.3:", when="@1.4.8:", type=("build", "run"))
- depends_on("py-urllib3@1.15.1:", type=("build", "run"))
- depends_on("py-pydantic@1.10.5:1", when="@1.4.8:", type=("build", "run"))
- depends_on("py-aenum@3.1.11:", when="@1.4.8:", type=("build", "run"))
+ with default_args(type=("build", "run")):
+ depends_on("py-certifi@14.05.14:")
+ depends_on("py-hydra-core@1:")
+ depends_on("py-lightly-utils@0.0")
+ depends_on("py-numpy@1.18.1:")
+ depends_on("py-python-dateutil@2.5.3:")
+ depends_on("py-requests@2.23:")
+ depends_on("py-six@1.10:")
+ depends_on("py-tqdm@4.44:")
+ depends_on("py-torch")
+ depends_on("py-torch@:1", when="@:1.4.1")
+ depends_on("py-torchvision")
+ depends_on("py-pytorch-lightning@1.0.4:")
+ depends_on("py-pytorch-lightning@1.0.4:1", when="@:1.4.1")
+ depends_on("py-urllib3@1.25.3:", when="@1.4.8:")
+ depends_on("py-urllib3@1.15.1:")
+ depends_on("py-pydantic@1.10.5:", when="@1.5.11:")
+ depends_on("py-pydantic@1.10.5:1", when="@1.4.8:1.5.0")
+ depends_on("py-aenum@3.1.11:", when="@1.4.8:")
- # requirements/torch.txt
- depends_on("py-torch", type=("build", "run"))
- depends_on("py-torch@:1", when="@:1.4.1", type=("build", "run"))
- depends_on("py-torchvision", type=("build", "run"))
- depends_on("py-pytorch-lightning@1.0.4:", type=("build", "run"))
- depends_on("py-pytorch-lightning@1.0.4:1", when="@:1.4.1", type=("build", "run"))
+ # Historical dependencies
+ depends_on("py-setuptools@21:", when="@1.4.8,1.4.15:1.4.25")
+ depends_on("py-setuptools@21:65.5.1", when="@:1.4.1")
- # https://github.com/lightly-ai/lightly/issues/1153
- depends_on("py-torch+distributed", when="@:1.4.4", type=("build", "run"))
+ # https://github.com/lightly-ai/lightly/issues/1558
+ depends_on("py-numpy@:1", when="@:1.5.10")
+
+ # https://github.com/lightly-ai/lightly/issues/1153
+ depends_on("py-torch+distributed", when="@:1.4.4")
# https://github.com/microsoft/torchgeo/issues/1824
conflicts("py-timm@:0.9.8", when="@1.4.26")