From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#62694: 30.0.50; eglot-tests fails with recent pylsp Date: Fri, 07 Apr 2023 13:24:58 +0100 Message-ID: <87355bj2w5.fsf@gmail.com> References: <87sfddibcn.fsf@gmx.de> <87o7o1tfvc.fsf@gmx.de> <87ile9t5uj.fsf@gmx.de> <87ttxssyef.fsf@gmx.de> <87o7o0rvax.fsf@gmx.de> <835ya8otvh.fsf@gnu.org> <83355cot57.fsf@gnu.org> <83wn2ondpe.fsf@gnu.org> <871qkv6gpm.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4433"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 62694@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 14:24:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pkl8j-0000zv-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 14:24:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkl8Q-0007YH-Uc; Fri, 07 Apr 2023 08:24:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkl8M-0007Xn-Eh for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:24:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkl8M-0007EI-6W for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkl8L-0005f6-Mk for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Apr 2023 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62694 X-GNU-PR-Package: emacs Original-Received: via spool by 62694-submit@debbugs.gnu.org id=B62694.168087018421660 (code B ref 62694); Fri, 07 Apr 2023 12:24:01 +0000 Original-Received: (at 62694) by debbugs.gnu.org; 7 Apr 2023 12:23:04 +0000 Original-Received: from localhost ([127.0.0.1]:55907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkl7Q-0005dH-Ap for submit@debbugs.gnu.org; Fri, 07 Apr 2023 08:23:04 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:38810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkl7O-0005cT-BM for 62694@debbugs.gnu.org; Fri, 07 Apr 2023 08:23:02 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id l15-20020a05600c4f0f00b003ef6d684102so21652452wmq.3 for <62694@debbugs.gnu.org>; Fri, 07 Apr 2023 05:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680870176; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tkdWIzE7NcsChmaPHHQ2X7K5e87Jv0TfiCbbaPPjLyY=; b=nvLj/OqlwfV57CkXaT7+wvL2ZaC6wnGcThU+a2Gl37jXsEHVhq0dXsnEK0bmZTA399 HY7Hib5r8gTto8+I/6d+/SHwhTRsEClQpirre1jte/58VJarf3aGkWcMKPMh3Gm11XhJ QF81oZNAjpyJPCOlTB5K4ziXHQJEqbUNGeBlvON30wSlqZN9nTcVxZnpWUOD+AelUuDF WudPWIgFsaQb1WfZMeRmspcc8Qws8q28/YYwU/gvkaFau3WAePicJ124AU+T2lPOXTdJ PpSoOXCPDQoOzfJ/jx+JkksI2WAeqS2gxXJnw1RmKXaE0Ocp8kvQR1PUWyKfg9EOZmxi Bo8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680870176; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tkdWIzE7NcsChmaPHHQ2X7K5e87Jv0TfiCbbaPPjLyY=; b=qr60qAzsQSVvG77hLeTW+gueh3wra9E1X0HZAExdAgc9mH6ca8AbcQed4n5Bqk796N f12iCHMTa687a7QnJgqxak5OO/ZIAEV7rQCPkJwpZ8oOTwdUSzeMFAYhJD8gZpr3CXd4 tcD8LpEsGUajM1kLSACmC68ki5zk5eHiq/OncOsjL6pz+vnt/JWT4aFqFnHnZ0TB6Xzq wJFnmD+Lu+kf0JdmnsREs74BdmthSCYiJ4Lk9HcqzSnrjcWwLHy42Tn3BO9NfDe3nTTn 5jTdqAK6YPPLGpfi5JzxgL7ZB5dqYTLGhA41UHT3xZeQUEFUC/ULdHrM/s4FUy1K8s9v m8Uw== X-Gm-Message-State: AAQBX9dJcxnSmF6NMMRHkFRrCtMjRpG/raqHycLUA4WmKAJ++5Y7LBl0 pnJ/6rQ4t797KlBSQnjWc9hd+6hP0gM= X-Google-Smtp-Source: AKy350YZme08iMbyEFxt09VrLZLaLsBbZSsqplpYILuh2UmPSNOqXlyD7Jv4b4YCu5hlVKyxUIVSrg== X-Received: by 2002:a05:600c:ad4:b0:3ed:301c:375c with SMTP id c20-20020a05600c0ad400b003ed301c375cmr1196498wmr.21.1680870175948; Fri, 07 Apr 2023 05:22:55 -0700 (PDT) Original-Received: from krug (87-196-74-43.net.novis.pt. [87.196.74.43]) by smtp.gmail.com with ESMTPSA id d1-20020a5d6441000000b002c573778432sm4422992wrw.102.2023.04.07.05.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:22:55 -0700 (PDT) In-Reply-To: <871qkv6gpm.fsf@gmx.de> (Michael Albinus's message of "Fri, 07 Apr 2023 14:04:53 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259407 Archived-At: Michael Albinus writes: > (:name "pylsp" :version "1.4.1"))) This is not a version problem, Michael. I have 1.7.2. running on my laptop and it passes all the tests. You say > The initialization handshake is identical, except the server info > I have absolutely no idea about the language server protocol, and > whether both server replies are valid communication. If both are valid, > eglot shall support this. Then how, given the information that I've just given you (that pylsp 1.7.2 passes all the tests), do you plan to do to version checking?? We did version checking with clangd, that's reasonable, but here it seems impossible. Just go easy on the "shall"s and consider. pip install "python-lsp-server[all]" you can even pin it to a specific version pip install "python-lsp-server[all]" pylsp=3D1.7.2 Thank you very much for using your Debian to check this, but you're wasting your time. Since you have "absolutely no idea about the LSP", can't you "trust" me on this one? LSP coordinates capabilities using the handshake's capability statements. You have witnessed an identical capability statement and yet different behaviour. The servers are _not_ perfect, and Debian's pylsp installation is subtly not behaving correctly. > If not, I believe eglot shall raise an error like "protocol mismatch", This doesn't exist in LSP. It just doesn't exist. There are no protocol versions. > I have done the homework (not mine!) The suggestion that you're doing my homework and I'm somehow lazying about is not very amusing. Jo=C3=A3o