GNU bug report logs - #75960
[PATCH] gnu: pantalaimon: Update to 257ef6a2e5e5668cd43347037c09ba036f91d997.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Ian Eure <ian@HIDDEN>; Keywords: patch; Done: Ian Eure <ian@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 75960 <at> debbugs.gnu.org and Ian Eure <ian@HIDDEN> Request was from Ian Eure <ian@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Jan 2025 04:31:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 30 23:31:30 2025
Received: from localhost ([127.0.0.1]:48892 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tdigj-0002Y1-Di
	for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 23:31:29 -0500
Received: from lists.gnu.org ([2001:470:142::17]:34228)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ian@HIDDEN>) id 1tdigg-0002Xf-5u
 for submit <at> debbugs.gnu.org; Thu, 30 Jan 2025 23:31:27 -0500
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 <ian@HIDDEN>) id 1tdigY-0008KN-2w
 for guix-patches@HIDDEN; Thu, 30 Jan 2025 23:31:18 -0500
Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ian@HIDDEN>) id 1tdigU-0002FS-4I
 for guix-patches@HIDDEN; Thu, 30 Jan 2025 23:31:17 -0500
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
 [10.202.2.46])
 by mailfhigh.phl.internal (Postfix) with ESMTP id EBB8D1140163;
 Thu, 30 Jan 2025 23:31:10 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-06.internal (MEProxy); Thu, 30 Jan 2025 23:31:10 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:message-id:mime-version:reply-to
 :subject:subject:to:to; s=fm2; t=1738297870; x=1738384270; bh=as
 1WFLNWz1b4QEd8nuuJvUIlpw7AJvd+6ZzzTmYN0lA=; b=SksZHFPARuMT2LbxLz
 SMmtnSZxiRLdAkHm3HW/KG9m26PMiaDIUGeRHD/FrUqGue6URPqJSVvr9gJXdh9n
 rZijuJbSk+89piFqCZgra/8YJJyR7wIqmsP23HxDg4uTnCbxzzpOw5QK4kIrHtMb
 qN42x1mhTen352KsZTpF1JPENJMsdMZ1rh0wUAhMyYzUFyMdcmgCIWOQf3Vw+apf
 cusgUxXx5JGFBIEmmdyrLQ3dKLGHvhZbCxby3sOKR8MEyQ/Gj94z181lV/zO5xv0
 d4InU6wp+xgXR0gcFJCUnRNraRUtpLDiIqiCkyL8hwiuKM62DRBp3DSx7YlkG77M
 To+w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:message-id:mime-version:reply-to:subject
 :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1738297870; x=1738384270; bh=as1WFLNWz1b4QEd8nuuJvUIlpw7A
 Jvd+6ZzzTmYN0lA=; b=Mxc+widiTitXgsef1jysEdU+hyAj9oMQ/m5iqcXLNtNc
 UDsEbDws151Ou1FuNx/sYA2sfA/bRKH9Fqa0XHN5xeG9XZ4kAuVqyBotUtWNTzyD
 Q1fhfFuHPLV2S1rdOl/nPxXoU4piSN30WS1LpYNAL4hGUF9Ysamxa/rkPiXbOWWv
 iM8YyJryZvUDmMLSxZRVHixx13Ke0lHk1YMkV+Rn9POzDVpxbwEOGnss5Ybr9nca
 dhpHGpDfLeWhy72ywrlR0+KoVIVX/DdwJKDXc0Ompv3xlGRd/JCwc8w2A2XilfLD
 lfkzrmPiArTox0UYFrg7B5GaKqE1wg5iakVTun/ZPA==
X-ME-Sender: <xms:DlKcZ7BmqXr2l_xH1bw6Nlqi2T6pdc3PAkDHuftgtkmnvcNmnJjoag>
 <xme:DlKcZxj1mP6Mdm_4cz76uAGzv6YFq-sfHY7uNwH2X-60vDayW5qxKXUyaat_ZjnCR
 S20aYaXWm1CVSMHSw>
X-ME-Received: <xmr:DlKcZ2lD1IzPxrGE9LXR2_9b6E9NjlZaPii5WTgvjffju4BesUhoZsuN7Isf0J6l22QyEcpLq2yqMJm9O8jd8SOArXtxvPDVjQXXEQHmARUrIBXxh3Pb5w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejjeekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
 rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf
 ffkffogggtgfesthekredtredtjeenucfhrhhomhepkfgrnhcugfhurhgvuceoihgrnhes
 rhgvthhrohhsphgvtgdrthhvqeenucggtffrrghtthgvrhhnpefhvdevvdeivdeigfffhf
 etueejveffveekvefgjeegueeiveegheeufeffvdejvdenucffohhmrghinhepghhithhh
 uhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepihgrnhesrhgvthhrohhsphgvtgdrthhvpdhnsggprhgtphhtthhopedvpdhmohgu
 vgepshhmthhpohhuthdprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdroh
 hrghdprhgtphhtthhopehirghnsehrvghtrhhoshhpvggtrdhtvh
X-ME-Proxy: <xmx:DlKcZ9x1oCJb2Ajdjuq3RonYP5AM1EamQlKnBU7vMO1z3iCT9thk9w>
 <xmx:DlKcZwSbSZMaziJIU6scwPdEft-T7dZDcbAQAn8oc-6kwfTfJyn9Rg>
 <xmx:DlKcZwY1M7h_ETFDPus02dePRKO2yfrWyFEwmsYolncxCY6wKJ5hYQ>
 <xmx:DlKcZxSJlvcaXDzbsa8vkQX_Yvk7dtJGeHf2cKcXB3Dp2sMGpOpk7w>
 <xmx:DlKcZ7eEI1S0EKOkGZ6eGioUl_aGM7n_1JOGUhT-zF2f2NxNn4cJR78F>
Feedback-ID: id9014242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 30 Jan 2025 23:31:10 -0500 (EST)
From: Ian Eure <ian@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: pantalaimon: Update to
 257ef6a2e5e5668cd43347037c09ba036f91d997.
Date: Thu, 30 Jan 2025 20:30:59 -0800
Message-ID: <20250131043100.20880-1-ian@HIDDEN>
X-Mailer: git-send-email 2.47.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=103.168.172.158; envelope-from=ian@HIDDEN;
 helo=fhigh-a7-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
Cc: Ian Eure <ian@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

This package has been broken for a while, in a way that’s very annoying to
debug: the test suite hangs forever and the build times out.  It’s been asked
after in IRC, but no progress has been made.  I spent a solid two hours
fumbling around with it, and wasn’t able to get anywhere.  This package isn’t
using the same test setup as upstream, and can’t, because upstream is using
tox, which requires the network to do anything.

I can get the test suite to run by hand, but it doesn’t succeed.  I figure if
it’s not going to work by hand with network access, it’s very unlikely to work
in an isolated build environment.  A buildable package without tests seems
better to me than an unbuildable package with them; and this has been asked
after in IRC, so, this disables them.  It also removes the native-inputs they
needed, and the custom 'check phase.

Also, there’s been no release for three years; update to the current HEAD.
With this update, the appdirs hack isn’t needed, so that’s removed.  HEAD
also, for some reason, forbids matrix-nio 0.25.2 (the latest release), even
though this was changed in a routine dependency bump[1] which landed weeks
after 0.25.2 was released.  Allow that version.

* gnu/packages/matrix.scm (pantalaimon): Update to 257ef6a2e5e5668cd43347037c09ba036f91d997.

[1]: https://github.com/matrix-org/pantalaimon/pull/178

Change-Id: Idd2e940b5a36c72e116ad5e27a50c17eec6423e0
---
 gnu/packages/matrix.scm | 31 +++++++++++++------------------
 1 file changed, 13 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 8d1aca4b2e..032e2b44b0 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -228,7 +228,7 @@ (define-public python-matrix-nio
 (define-public pantalaimon
   (package
     (name "pantalaimon")
-    (version "0.10.5")
+    (version "257ef6a2e5e5668cd43347037c09ba036f91d997")
     (source
      (origin
        (method git-fetch)
@@ -238,36 +238,30 @@ (define-public pantalaimon
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "16ask8v00654q307c55q5gnm8hrj40gibpab5zl52v4i0bgl9j68"))))
+         "1i18mjlc143d2xwlha09i5ny06vipmy8fii05427zq5vjz8rysgx"))))
     (build-system python-build-system)
     (arguments
      (list
+      ;; Upstream uses tox for tests, which requires the network.  Disable
+      ;; them until someone can figure out how to make them work right.
+      #:tests? #f
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'downgrade-appdirs-requirement
+          (add-after 'unpack 'relax-matrix-nio
             (lambda _
               (substitute* "setup.py"
-                ;; FIXME: Remove this once appdirs is updated.
-                ;; Upgrading python-appdirs requires rebuilting 3000+ packages,
-                ;; when 1.4.4 is a simple maintenance fix from 1.4.3.
-                (("appdirs >= 1.4.4") "appdirs >= 1.4.3"))))
+                ;; Relax matrix-nio dep, pantalaimon forbids the latest
+                ;; version for some reason.
+                (("matrix-nio\\[e2e\\] >= 0.24, < 0.25.2")
+                 "matrix-nio[e2e] >= 0.24, <= 0.25.2"))))
           (add-after 'install 'install-doc
             (lambda _
               (with-directory-excursion "docs/man"
                 (let ((man (string-append #$output "/share/man")))
                   (install-file "panctl.1" (string-append man "/man1"))
                   (install-file "pantalaimon.5" (string-append man "/man5"))
-                  (install-file "pantalaimon.8" (string-append man "/man8"))))))
-          (replace 'check
-            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-              (when tests?
-                (add-installed-pythonpath inputs outputs)
-                (invoke "pytest" "-vv" "tests")))))))
-    (native-inputs
-     (list python-aioresponses
-           python-faker
-           python-pytest
-           python-pytest-aiohttp))
+                  (install-file "pantalaimon.8" (string-append man "/man8")))))))))
+
     (propagated-inputs
      (list python-aiohttp
            python-appdirs
@@ -281,6 +275,7 @@ (define-public pantalaimon
            python-matrix-nio
            python-notify2
            python-peewee
+           python-platformdirs
            python-prompt-toolkit
            python-pydbus
            python-pygobject))
-- 
2.48.1





Acknowledgement sent to Ian Eure <ian@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#75960; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 1 Feb 2025 17:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.