diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2023-04-17 08:02:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 15:02:13 +0200 |
commit | abb236e98ab73e6f3a3aa2393195bcdf45642275 (patch) | |
tree | 7be9f6f5bc8ccb86474214244246b54f6b39275a | |
parent | adf0ce6621014a59166d7b50e2abf53c0b0968dc (diff) | |
download | spack-abb236e98ab73e6f3a3aa2393195bcdf45642275.tar.gz spack-abb236e98ab73e6f3a3aa2393195bcdf45642275.tar.bz2 spack-abb236e98ab73e6f3a3aa2393195bcdf45642275.tar.xz spack-abb236e98ab73e6f3a3aa2393195bcdf45642275.zip |
py-lightly: py-torch+distributed required (#36955)
-rw-r--r-- | var/spack/repos/builtin/packages/py-lightly/package.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-lightly/package.py b/var/spack/repos/builtin/packages/py-lightly/package.py index 370e41205f..d1f6c646d3 100644 --- a/var/spack/repos/builtin/packages/py-lightly/package.py +++ b/var/spack/repos/builtin/packages/py-lightly/package.py @@ -17,15 +17,23 @@ class PyLightly(PythonPackage): version("1.4.1", sha256="4c64657639c66ee5c8b4b8d300fc9b5287dc7e14a260f3a2e04917dca7f57f5b") + # lightly/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")) 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-six@1.10:", type=("build", "run")) - depends_on("py-torchvision", 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-torchvision", type=("build", "run")) depends_on("py-pytorch-lightning@1.0.4:", type=("build", "run")) + + # https://github.com/lightly-ai/lightly/issues/1153 + depends_on("py-torch+distributed", type=("build", "run")) |