diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2023-04-20 17:29:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 15:29:53 -0700 |
commit | f174bca689ad7104d4ba64b8597b2e3f783aa9e9 (patch) | |
tree | 49c4ad39de720cd3a4725359f5c8979ce5b32db1 /var | |
parent | 7c9359d57e030f7c2b872bde8135b5e0e998307d (diff) | |
download | spack-f174bca689ad7104d4ba64b8597b2e3f783aa9e9.tar.gz spack-f174bca689ad7104d4ba64b8597b2e3f783aa9e9.tar.bz2 spack-f174bca689ad7104d4ba64b8597b2e3f783aa9e9.tar.xz spack-f174bca689ad7104d4ba64b8597b2e3f783aa9e9.zip |
py-lightly: add v1.4.2 (#37053)
* py-lightly: add v1.4.2
* pytorch and lightning 2.0 now supported
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-lightly/package.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightly/package.py b/var/spack/repos/builtin/packages/py-lightly/package.py index d1f6c646d3..ea198be0b2 100644 --- a/var/spack/repos/builtin/packages/py-lightly/package.py +++ b/var/spack/repos/builtin/packages/py-lightly/package.py @@ -15,6 +15,7 @@ class PyLightly(PythonPackage): maintainers("adamjstewart") + version("1.4.2", sha256="bae451fcd04fbd3cc14b044a2583ae24591533d4a8a6ff51e5f1477f9a077648") version("1.4.1", sha256="4c64657639c66ee5c8b4b8d300fc9b5287dc7e14a260f3a2e04917dca7f57f5b") # lightly/requirements/base.txt @@ -24,16 +25,18 @@ class PyLightly(PythonPackage): depends_on("py-numpy@1.18.1:", type=("build", "run")) depends_on("py-python-dateutil@2.5.3:", type=("build", "run")) depends_on("py-requests@2.23:", type=("build", "run")) - # https://github.com/lightly-ai/lightly/pull/1149 - depends_on("py-setuptools@21:65.5.1", type=("build", "run")) + depends_on("py-setuptools@21:", when="@1.4.2:", type="build") + depends_on("py-setuptools@21:65.5.1", when="@:1.4.1", 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.15.1:", type=("build", "run")) # lightly/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")) # https://github.com/lightly-ai/lightly/issues/1153 depends_on("py-torch+distributed", type=("build", "run")) |