From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Basil Contovounesios via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62694: 30.0.50; eglot-tests fails with recent pylsp Date: Sun, 09 Apr 2023 12:22:43 +0100 Message-ID: <87ile5gv0c.fsf@tcd.ie> References: <87sfddibcn.fsf@gmx.de> <87o7o1tfvc.fsf@gmx.de> Reply-To: Basil Contovounesios 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="36128"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62694@debbugs.gnu.org, Michael Albinus To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 09 13:23:24 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 1plT8l-0009G3-SF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Apr 2023 13:23:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plT8S-0002YM-OW; Sun, 09 Apr 2023 07:23:04 -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 1plT8R-0002YB-Bx for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2023 07:23:03 -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 1plT8R-0000xI-3l for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2023 07:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plT8Q-00024A-Fv for bug-gnu-emacs@gnu.org; Sun, 09 Apr 2023 07:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Basil Contovounesios Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Apr 2023 11:23:02 +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.16810393767908 (code B ref 62694); Sun, 09 Apr 2023 11:23:02 +0000 Original-Received: (at 62694) by debbugs.gnu.org; 9 Apr 2023 11:22:56 +0000 Original-Received: from localhost ([127.0.0.1]:60319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plT8J-00023U-Hc for submit@debbugs.gnu.org; Sun, 09 Apr 2023 07:22:55 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:46750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plT8F-000237-IB for 62694@debbugs.gnu.org; Sun, 09 Apr 2023 07:22:54 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id v29so2340309wra.13 for <62694@debbugs.gnu.org>; Sun, 09 Apr 2023 04:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; t=1681039366; x=1683631366; 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=kvCiAoZSYlEhMC/gpSFqHiwR/e1guyQzotKFDxsk6Gk=; b=OEBH7ZuvFIjQdCCY84COuCUnxJsRyoP6Lolxk2Vksz1+pcC3hv+ZDCnVf70mON6Hnv ki5U9zZaSiTIRTw3EoJ2zNjrQ28CK7NE9tnJTrY/k1lttXWBpSO10MnyQNF1HQefWrdo FFMcyDBhoXetny2HUMuaD9pzqkfPxAlmbizh4j7x20v+PUBdC0FME+eK4QWW9TnWqMDN 8Q2TAm9bPOEOveqx830g77BnynvIttm3Yw80xq6+SZoRhZjsz4duSKNY6j3bz21LJ1jd i9esy9HIQ19wDjRwav1/POZ3NiAfSSrQ22mzeKN5uScDFuz8ztSfR1OX71GxA+7w4g1A o1Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681039366; x=1683631366; 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=kvCiAoZSYlEhMC/gpSFqHiwR/e1guyQzotKFDxsk6Gk=; b=E5Omno1kBoTAnmmxBcSuw8GNUAQHUQzNUP7niYgANPksOMC0FWi6KvS41h243pj1yQ +eqW7If2hff7IMtkiFtvt+j5JntI4Muj0CEWCGRdwT9dlM+2hxT9fo1dG5d+82cpjiMu jBcu5IjSXztx3qN8cJn7Bgkgjv9lkPp5Pu18ksCV1WBv7MWg+8+goOQElSeCwerQaUEM MRsK4ODyQT28AiQbb67wt3dYvR33qkwwg15f8iNik13jCLnsYB+MTgLYhRPBJVRSLHu5 hS+LiG7biHpHYRxRWEyl3+fDmREBGSVweBcykVCqwWubQiqSHKILMNLbbgouG2KKNp1a Z3UA== X-Gm-Message-State: AAQBX9fmZUb6snvPR940CkdC64uyTpx8d/WxvyXLZTYrtRR9PKMqplXi jpOwAwL8vbZg78hqTNrjan4kFQ== X-Google-Smtp-Source: AKy350aE0tI0YXXyZFf9Fi92v2Fe17nPmoGFod+GOCR4Xc6tjxG4b3rjRdCk6JeCNYYH/xmg2vwO7w== X-Received: by 2002:adf:e94a:0:b0:2e3:a038:7870 with SMTP id m10-20020adfe94a000000b002e3a0387870mr5753672wrn.40.1681039365749; Sun, 09 Apr 2023 04:22:45 -0700 (PDT) Original-Received: from localhost ([146.70.132.179]) by smtp.gmail.com with ESMTPSA id m10-20020a5d56ca000000b002c54c92e125sm8981478wrw.46.2023.04.09.04.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Apr 2023 04:22:45 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Thu, 6 Apr 2023 13:49:42 +0100") 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:259514 Archived-At: Jo=C3=A3o T=C3=A1vora [2023-04-06 13:49 +0100] wrote: > On Thu, Apr 6, 2023, 12:22 Michael Albinus wrote: > >> > 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]" IME this may not be sufficient to get the latest version of pylsp's dependencies, such as autopep8, which I presume is the component responsible for the differences in formatting across development environments. IOW it may be necessary to explicitly 'pip install -U autopep8'. >> 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. > > Sure, or she has a 'pylsp' that prints the complete works of > Shakespeare. But these tests are designed for the number one > recommended pylsp installation method. It's AFAIK not the > "bleeding edge" (which would be a Git installation). And tests > have been running fine with that installation method for a > number of months now, maybe even years. FWIW the autopep failure in bug#61637 was with latest pip-installed pylsp and autopep8, and the patch in that report worked around it by accepting one of a number of possible formattings. A version check for autopep8 (rather than pylsp) may have been an alternative solution. --=20 Basil