diff --git a/var/spack/repos/builtin/packages/py-lz4/package.py b/var/spack/repos/builtin/packages/py-lz4/package.py index e8e13181e8..12acb0ea91 100644 --- a/var/spack/repos/builtin/packages/py-lz4/package.py +++ b/var/spack/repos/builtin/packages/py-lz4/package.py @@ -12,11 +12,15 @@ class PyLz4(PythonPackage): homepage = "https://github.com/python-lz4/python-lz4" pypi = "lz4/lz4-3.1.0.tar.gz" + version("4.0.2", sha256="083b7172c2938412ae37c3a090250bfdd9e4a6e855442594f86c3608ed12729b") version("3.1.3", sha256="081ef0a3b5941cb03127f314229a1c78bd70c9c220bb3f4dd80033e707feaa18") version("3.1.0", sha256="debe75513db3eb9e5cdcd82a329ff38374b6316ab65b848b571e0404746c1e05") depends_on("python@3.5:", type=("build", "run")) + depends_on("python@3.7:", when="@4.0.2:", type=("build", "run")) + depends_on("py-setuptools@45:", when="@4.0.2:", type="build") depends_on("py-setuptools", type="build") + depends_on("py-setuptools-scm@6.2:+toml", when="@4.0.2:", type="build") depends_on("py-setuptools-scm", type="build") depends_on("py-pkgconfig", type="build") depends_on("lz4@1.7.5:")