bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62694: 30.0.50; eglot-tests fails with recent pylsp


From: Michael Albinus
Subject: bug#62694: 30.0.50; eglot-tests fails with recent pylsp
Date: Thu, 06 Apr 2023 13:22:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

João Távora <joaotavora@gmail.com> writes:

Hi João,

>> I have simulated the eglot-tests from EMBA in my local
>> environment. Instead of using Debian bullseye (stable), I have taken
>> Debian sid (unstable).
>>
>> Additionally, I have installed the respective Debian sid packages:
>>
>> --8<---------------cut here---------------start------------->8---
>> # apt list clangd python3-pylsp python3-autopep8 python3-yapf
>> Listing... Done
>> clangd/now 1:14.0-55.6 amd64 [installed,local]
>> python3-autopep8/now 2.0.1-1 all [installed,local]
>> python3-pylsp/now 1.7.1-1 all [installed,local]
>> python3-yapf/now 0.32.0-1 all [installed,local]
>> --8<---------------cut here---------------end--------------->8---
>>
>> However, eglot-tests still fail for pylsp, see attached eglot-tests.log
>> file.
>
> Instead of using your distribution package manager, I recommend
> installing pylsp via the official Python package manager, pip, and
> doing it like so:
>
> pip install "python-lsp-server[all]"

I disagree. Running regression tests towards bleeding edge development
version of pylsp is not the intention. You cannot expect, that everybody
running Emacs tests has installed pylsp like this. But she could have
installed the Debian pylsp package.

I have used the most recent pylsp package from Debian. If it doesn't
cooperate with eglot, we have a problem.

I recommend that you investigate why the tests fail. And if this sounds
too much, at least the sanity checks shall be improved. (skip-unless
(executable-find "pylsp")) doesn't seem to be sufficient then.

> João

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]