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:40:42 +0100 Message-ID: <87y1n3hnlh.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> <83v8i7opz4.fsf@gnu.org> <87wn2n51qr.fsf@gmx.de> <83sfdbopa8.fsf@gnu.org> 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="40890"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62694@debbugs.gnu.org, Michael Albinus To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 14:39:31 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 1pklNL-000APL-G7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 14:39:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pklMx-0002s4-8P; Fri, 07 Apr 2023 08:39:07 -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 1pklMs-0002rY-IL for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:39:02 -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 1pklMs-0006lE-9b for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pklMs-0000Cm-5K for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 08:39:02 -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:39: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.1680871127751 (code B ref 62694); Fri, 07 Apr 2023 12:39:02 +0000 Original-Received: (at 62694) by debbugs.gnu.org; 7 Apr 2023 12:38:47 +0000 Original-Received: from localhost ([127.0.0.1]:55931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pklMd-0000C3-0h for submit@debbugs.gnu.org; Fri, 07 Apr 2023 08:38:47 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:37695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pklMa-0000Bk-Ni for 62694@debbugs.gnu.org; Fri, 07 Apr 2023 08:38:45 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id i8-20020a05600c354800b003ee93d2c914so513794wmq.2 for <62694@debbugs.gnu.org>; Fri, 07 Apr 2023 05:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680871118; 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=CadjMwYr7x0VIkOMgv4aSQF5Q44XGGykhjqlARLVAc4=; b=IiHXQFzTBuiKl3Oy9ehkZc7jQhNQ37zfmbvsjLBTTsRNLG0wT9CDh+c7gE/hVIkNhi CWlNI4SggZKT3ABJgU1zfbq786HGTTrSwHpSDmoj3pkI9SE6+kdFCX6v4l450MOZTXJl nsfJ/WBsV4Mji+MhtZO5bsuo7TztX459zfZ+k3MMBr5+CD0AExzhzgErdX1HCHKHRTTL uBdjanUi4MheYwT0xy7UJdz0006XPHrZY6Dvu0h9lz/kL/6XudWIE9j3itMad6Pm2dCZ 1amtsJyR1leCwlVzTsrbdV+yOmoBA5YrgdmDlba/5nqkDi3TXYD4jZ7H2Gtl3ybE7HsO MXoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680871118; 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=CadjMwYr7x0VIkOMgv4aSQF5Q44XGGykhjqlARLVAc4=; b=0vBgedX6BuMp1QnNPq319rW/bCKzN3qbBd8TKnmo44dUSUDtBOxczdQQcl9uylJE/r JjrsoTTuH3U350wkr9c9vZX5uoh0lrrOCAsBQxf8UDu4dMMBbNCz6ASEkXkroQd3ZqlZ oLjrG4HE5oQGa0eLe29hIYnfXJTVL7WxKaH+extjthwBQbWNm5Gg0edSZRvDx/QnfzgM LCTy4gpVrmT7uRjmCkloPGyPI/6jTbbCspVFX38nd3223vRPNdRAvm64qCmO1OFvLekK pzala92G9sGA4JdGq48fppghbJzP209qqfHZlFMc3DxP2WZMgkydjpxEE085r26TAlT+ kX6g== X-Gm-Message-State: AAQBX9dj6x7JWhNvtS8eAApnMB0QaZTv/Nn+fqzYQXAZSS5uDUKjTcsB Xk6hEF3YWXCimVEsGqx/m2JFTvcwTQQ= X-Google-Smtp-Source: AKy350Zpg+u2MmpTzMlVbK6B/ou6HnArLpUiUwptdIsHFgS9W7zm6O8vu2hlI50fdPAByy15XUSbKg== X-Received: by 2002:a1c:f30e:0:b0:3eb:2b88:a69a with SMTP id q14-20020a1cf30e000000b003eb2b88a69amr1109148wmq.14.1680871118588; Fri, 07 Apr 2023 05:38:38 -0700 (PDT) Original-Received: from krug (87-196-74-43.net.novis.pt. [87.196.74.43]) by smtp.gmail.com with ESMTPSA id u15-20020a05600c210f00b003ee20b4b2dasm4460567wml.46.2023.04.07.05.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 05:38:38 -0700 (PDT) In-Reply-To: <83sfdbopa8.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Apr 2023 15:22:23 +0300") 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:259408 Archived-At: Eli Zaretskii writes: >> From: Michael Albinus >> Cc: 62694@debbugs.gnu.org, Jo=C3=A3o T=C3=A1vora >> >> Date: Fri, 07 Apr 2023 14:13:32 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> Hi Eli, >>=20 >> >> Alternatively, if helping me with that check or adding pip install >> >> or not installing debian's pylsp on EMBA is too much to ask, then >> >> just delete all the pylsp tests. >> > >> > Michael, does EMBA run all the tests, or does it skip, say, the >> > 'unstable' ones? If the latter, how about marking these specific >> > tests as 'unstable'? would that solve the problem? >>=20 >> Sure, the :unstable tag suppresses a test for all "make test" invocation >> variants. I've proposed this a while ago for some eglot tests, but Jo=C3= =A3o >> didn't agree because "the tests are stable". > > Given Jo=C3=A3o's reluctance to help you to find a better solution,=20 FTR I've given a solution about 20 times now that was ignored repeteadly. There is no general bullet-proof solution for the problem of broken or misbehaving installations of external tools. So these tests cannot ever be "stable". You can mark them _all_ unstable. FTR I've given a solution known to be working in an Ubuntu-based CI system, very similar to Debian, for almost 5 years now. Noone seems to be heeding it, so what can I do? FTR I've explained at length why the "better solution" that you and Michael are conjecturing to be very easy is beyond me. In my analysis, there is no simple Elisp code that can, in this pylsp case, easily discern between a functioning installation and a malfunctioning one. I've asked for your suggestions on how this can be done and I've not received any concrete ideas. FTR, earlier this year, I took Michael's idea of adding a version check to clangd for eglot-tests.el because it was relatively easy and cheap and shown to be working. _Not_ because there were any reports of people with old clangd running make check (absolutely 0 of those too), but because I found it easy to do so (and why not appease good old Michael?). There the argument was that in that old Debian Stable debian system of EMBA it was not easy to install a newer clangd. OK. But, for pylsp that is _not_ the case at all, it's a simple one liner. So if anyone is being stubborn here, it's _not_ me. Jo=C3=A3o