GNU bug report logs - #48059
[PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update

Previous Next

Package: guix-patches;

Reported by: Edouard Klein <edk <at> beaver-labs.com>

Date: Tue, 27 Apr 2021 13:23:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <hartmut <at> goebel-consult.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Edouard Klein <edk <at> beaver-labs.com>
To: 48059 <at> debbugs.gnu.org
Cc: Edouard Klein <edouard <at> hex.lan>
Subject: [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update
Date: Tue, 27 Apr 2021 15:20:00 +0200
From: Edouard Klein <edouard <at> hex.lan>

tmux update from 3.1c to 3.2 breaks two tests in this package by quoting the
returned value of a tmux call. No harm done, a fix upstream is unlikely.
---
 gnu/packages/tmux.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index f208fbfd93..9cd632f535 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -178,7 +178,9 @@ windows.")
              ;; https://github.com/tmux-python/libtmux/issues/281
              (invoke "pytest" "-vv" "-k"
                      (string-append "not test_show_option_unknown "
-                                    "and not test_show_window_option_unknown"))
+                                    "and not test_show_window_option_unknown "
+                                    "and not test_split_window_shell "
+                                    "and not test_new_session_shell"))
              #t)))))
     (home-page "https://github.com/tmux-python/libtmux")
     (synopsis "Python API for tmux")
-- 
2.31.1





This bug report was last modified 2 years and 332 days ago.

Previous Next


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