diff --git a/var/spack/repos/builtin/packages/py-psij-python/package.py b/var/spack/repos/builtin/packages/py-psij-python/package.py index e50237bcdf2..791019f765b 100644 --- a/var/spack/repos/builtin/packages/py-psij-python/package.py +++ b/var/spack/repos/builtin/packages/py-psij-python/package.py @@ -11,18 +11,33 @@ class PyPsijPython(PythonPackage): homepage = "https://www.exaworks.org/" git = "https://github.com/exaworks/psij-python.git" - pypi = "psij-python/psij-python-0.1.0.post2.tar.gz" + pypi = "psij-python/psij-python-0.9.9.tar.gz" maintainers("andre-merzky") license("MIT") + version("0.9.9", sha256="79d527e43a5bb0df00818b956cc4dec064b59c38e4f8557e8533f901cb47d68f") + version( - "0.1.0.post2", sha256="78f4fb147248be479aa6128b583dff9052698c49f36c6e9811b4c3f9db326043" + "0.1.0.post2", + sha256="78f4fb147248be479aa6128b583dff9052698c49f36c6e9811b4c3f9db326043", + deprecated=True, ) - depends_on("python@3.7:", type=("build", "run")) - depends_on("py-filelock", type=("build", "run")) - depends_on("py-psutil", type=("build", "run")) - depends_on("py-pystache", type=("build", "run")) + # Python dependencies + depends_on("python@3.7:", type=("build", "run"), when="@:0.9.8") + depends_on("python@3.8:", type=("build", "run"), when="@0.9.9:") + + # Build dependencies (in order listed in pyproject.toml) depends_on("py-setuptools", type="build") + + # Install dependencies (in order listed in pyproject.toml or setup.cfg/py) + depends_on("py-psutil", type=("build", "run"), when="@:0.1") + depends_on("py-psutil@5.9:6.1.1", type=("build", "run"), when="@0.9.9:") + depends_on("py-pystache@0.6.0:", type=("build", "run")) + depends_on("py-typeguard@3.0.1:", type=("build", "run"), when="@0.9.8:") + depends_on("py-packaging@24.0:24.2", type=("build", "run"), when="@0.9.9:") + + # Historical dependencies + depends_on("py-filelock", type=("build", "run"), when="@:0.9.7")