Package: python3-pylsp Version: 1.4.1-1 Severity: minor Dear Maintainer,
After trying to use pylsp as a backend with vim-lsp, I noticed that the backend didn't start. Indeed, when started on the command line, I got a stack trace: $ pylsp Traceback (most recent call last): File "/usr/bin/pylsp", line 5, in <module> from pylsp.__main__ import main File "/usr/lib/python3/dist-packages/pylsp/__main__.py", line 15, in <module> from .python_lsp import (PythonLSPServer, start_io_lang_server, File "/usr/lib/python3/dist-packages/pylsp/python_lsp.py", line 15, in <module> from .config import config File "/usr/lib/python3/dist-packages/pylsp/config/config.py", line 11, in <module> from pluggy._hooks import HookImpl ModuleNotFoundError: No module named 'pluggy._hooks' Apparently the problem arose because apt chose to install the pylsp version from unstable (as there is none in stable), but the python3-pluggy version from stable, and apparently those are not compatible. Installing python3-pluggy 1.0.0-1 from unstable solved the problem, so I think the dependency should be versionised. Thanks, - Roland -- System Information: Debian Release: 11.3 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-12-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-pylsp depends on: ii python3 3.9.2-3 ii python3-jedi 0.18.0-1 ii python3-pkg-resources 52.0.0-4 ii python3-pluggy 0.13.0-6 ii python3-pylsp-jsonrpc 1.0.0-2 ii python3-ujson 4.0.2-1 python3-pylsp recommends no packages. Versions of packages python3-pylsp suggests: ii flake8 3.8.4-1 pn pylint <none> pn python3-autopep8 <none> ii python3-mccabe 0.6.1-3 ii python3-pycodestyle 2.6.0-1 pn python3-pydocstyle <none> ii python3-pyflakes 2.2.0-2 pn python3-rope <none> pn python3-yapf <none> -- no debconf information