diff --git a/var/spack/repos/builtin/packages/py-lightly/package.py b/var/spack/repos/builtin/packages/py-lightly/package.py index 04d06b663d..246de47f00 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.4.26", sha256="7bbcf0a358f23659eb4089043c559c4584ef339266b1c0a9a2598c3100f2f3b8") version("1.4.18", sha256="41794f6815db178b031236793b379e5573e074fdf730506872b73766396a6bdf") version("1.4.17", sha256="1533ddf28c8a08b3eafd404964d03f9a62fe76405fcf8dc7206ca4093725285e") version("1.4.16", sha256="9bd2af53e144e4f9823409cd33b39651f579ed671ff242a1445640c9df504d92") @@ -38,6 +39,8 @@ class PyLightly(PythonPackage): # 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")) # requirements/base.txt depends_on("py-certifi@14.05.14:", type=("build", "run")) @@ -48,12 +51,8 @@ class PyLightly(PythonPackage): 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.15.1:", type=("build", "run")) - - # requirements/openapi.txt - depends_on("py-python-dateutil@2.5.3:", when="@1.4.8:", type=("build", "run")) - depends_on("py-setuptools@21:", when="@1.4.15:", 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")) @@ -66,7 +65,3 @@ class PyLightly(PythonPackage): # https://github.com/lightly-ai/lightly/issues/1153 depends_on("py-torch+distributed", when="@:1.4.4", type=("build", "run")) - - # Historical dependencies - depends_on("py-setuptools@21:", when="@1.4.8", type=("build", "run")) - depends_on("py-setuptools@21:65.5.1", when="@:1.4.1", type=("build", "run"))