diff --git a/var/spack/repos/builtin/packages/py-python-lsp-server/package.py b/var/spack/repos/builtin/packages/py-python-lsp-server/package.py index 98e4cd0bff4..edf6a389237 100644 --- a/var/spack/repos/builtin/packages/py-python-lsp-server/package.py +++ b/var/spack/repos/builtin/packages/py-python-lsp-server/package.py @@ -15,6 +15,7 @@ class PyPythonLspServer(PythonPackage): license("MIT") + version("1.11.0", sha256="89edd6fb3f7852e4bf5a3d1d95ea41484d1a28fa94b6e3cbff12b9db123b8e86") version("1.10.0", sha256="0c9a52dcc16cd0562404d529d50a03372db1ea6fb8dfcc3792b3265441c814f4") version("1.7.1", sha256="67473bb301f35434b5fa8b21fc5ed5fac27dc8a8446ccec8bae456af52a0aef6") version("1.7.0", sha256="401ce78ea2e98cadd02d94962eb32c92879caabc8055b9a2f36d7ef44acc5435") @@ -26,11 +27,13 @@ class PyPythonLspServer(PythonPackage): depends_on("py-setuptools@61.2.0:", type="build", when="@1.8.0:") depends_on("py-setuptools-scm@3.4.3:+toml", type="build") - depends_on("py-docstring-to-markdown", type=("build", "run")) - depends_on("py-importlib-metadata@4.8.3:", type=("build", "run"), when="@1.8.0: ^python@:3.9") - depends_on("py-jedi@0.17.2:0.18", type=("build", "run"), when="@:1.7") - depends_on("py-jedi@0.17.2:0.19", type=("build", "run"), when="@1.8.0:") - depends_on("py-pluggy@1.0.0:", type=("build", "run")) - depends_on("py-python-lsp-jsonrpc@1.0.0:1", type=("build", "run")) - depends_on("py-python-lsp-jsonrpc@1.1.0:1", type=("build", "run"), when="@1.8.0:") - depends_on("py-ujson@3.0.0:", type=("build", "run")) + with default_args(type=("build", "run")): + depends_on("py-docstring-to-markdown") + depends_on("py-importlib-metadata@4.8.3:", when="@1.8.0: ^python@:3.9") + depends_on("py-jedi@0.17.2:0.18", when="@:1.7") + depends_on("py-jedi@0.17.2:0.19", when="@1.8.0:") + depends_on("py-pluggy@1.0.0:") + depends_on("py-python-lsp-jsonrpc@1.0.0:1") + depends_on("py-python-lsp-jsonrpc@1.1.0:1", when="@1.8.0:") + depends_on("py-ujson@3.0.0:") + depends_on("py-importlib-metadata@4.8.3:", when="^python@:3.9")