* [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update
@ 2021-04-27 13:20 Edouard Klein
2021-04-27 13:39 ` Tobias Geerinckx-Rice via Guix-patches via
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Edouard Klein @ 2021-04-27 13:20 UTC (permalink / raw)
To: 48059; +Cc: Edouard Klein
From: Edouard Klein <edouard@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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update
2021-04-27 13:20 [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update Edouard Klein
@ 2021-04-27 13:39 ` Tobias Geerinckx-Rice via Guix-patches via
2021-04-27 16:24 ` Edouard Klein
2021-04-27 13:43 ` Tobias Geerinckx-Rice via Guix-patches via
[not found] ` <handler.48059.B.161952974722963.ack@debbugs.gnu.org>
2 siblings, 1 reply; 8+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2021-04-27 13:39 UTC (permalink / raw)
To: Edouard Klein; +Cc: 48059, edouard
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
Edouard,
Edouard Klein 写道:
> 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.
Hm... why's that? Does upstream not support their own test suite?
Thanks!
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update
2021-04-27 13:20 [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update Edouard Klein
2021-04-27 13:39 ` Tobias Geerinckx-Rice via Guix-patches via
@ 2021-04-27 13:43 ` Tobias Geerinckx-Rice via Guix-patches via
2021-04-27 16:26 ` Edouard Klein
[not found] ` <handler.48059.B.161952974722963.ack@debbugs.gnu.org>
2 siblings, 1 reply; 8+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2021-04-27 13:43 UTC (permalink / raw)
To: Edouard Klein; +Cc: 48059
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
Edouard,
Edouard Klein 写道:
> From: Edouard Klein <edouard@hex.lan>
Oh, you should change this to a routable mail address ;-)
$ git config user.email edk@beaver-labs.com
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update
2021-04-27 13:39 ` Tobias Geerinckx-Rice via Guix-patches via
@ 2021-04-27 16:24 ` Edouard Klein
0 siblings, 0 replies; 8+ messages in thread
From: Edouard Klein @ 2021-04-27 16:24 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 48059, edouard
Tobias Geerinckx-Rice writes:
> Edouard,
>
> Edouard Klein 写道:
>> 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.
>
> Hm... why's that? Does upstream not support their own test suite?
>
The issue I opened last year about the two other tests failing is still
unresolved
https://github.com/tmux-python/libtmux/issues/281
There seems to be little ongoing development:
https://github.com/tmux-python/libtmux/commits/master
My suspicion is that the maintainer is using debian or another slow
distro that still use tmux 2, which I believe make the test pass (at
leat it did when I tested it last year)
https://packages.debian.org/buster/tmux
There is no way in Python to specify which version of tmux this is
supposed to run against. This is one of the strength of GNU Guix :)
So:
- the change in behaviour between tmux 2 and 3 is not
important enough to be noticeable in any of my use cases,
- I have little time,
- the maintainer upstream is likely using tmux 2,
all-in-all, this makes me say that an upstream fix is unlikely because I
can't write it myself and nobody else is likely to, either.
> Thanks!
>
Thank you for maintaining Guix :)
> T G-R
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update
2021-04-27 13:43 ` Tobias Geerinckx-Rice via Guix-patches via
@ 2021-04-27 16:26 ` Edouard Klein
0 siblings, 0 replies; 8+ messages in thread
From: Edouard Klein @ 2021-04-27 16:26 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 48059
Tobias Geerinckx-Rice writes:
> Edouard,
>
> Edouard Klein 写道:
>> From: Edouard Klein <edouard@hex.lan>
>
> Oh, you should change this to a routable mail address ;-)
>
> $ git config user.email edk@beaver-labs.com
>
$ git config --get user.email
edk@beaver-labs.com
I don't know why git send-email is using my hostname. I'll have to
investigate. Thanks for pointing it out :)
> Kind regards,
>
> T G-R
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48059] Acknowledgement ([PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update)
[not found] ` <handler.48059.B.161952974722963.ack@debbugs.gnu.org>
@ 2021-05-28 7:38 ` edk
2021-05-28 7:56 ` Maxime Devos
0 siblings, 1 reply; 8+ messages in thread
From: edk @ 2021-05-28 7:38 UTC (permalink / raw)
To: 48059
Sorry to be a bother, but could we please merge this ? We depend on this
package and we have to use guix time machine because it is broken. We
would very much like to enjoy the new 1.3 features.
Thanks in advance,
Cheers,
Edouard.
GNU bug Tracking System writes:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> guix-patches@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 48059@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48059] Acknowledgement ([PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update)
2021-05-28 7:38 ` [bug#48059] Acknowledgement ([PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update) edk
@ 2021-05-28 7:56 ` Maxime Devos
2021-05-28 16:17 ` Edouard Klein
0 siblings, 1 reply; 8+ messages in thread
From: Maxime Devos @ 2021-05-28 7:56 UTC (permalink / raw)
To: edk, 48059
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
edk@beaver-labs.com schreef op vr 28-05-2021 om 09:38 [+0200]:
> Sorry to be a bother, but could we please merge this ? We depend on this
> package and we have to use guix time machine because it is broken. We
> would very much like to enjoy the new 1.3 features.
I guess it is good to merge, but someone else would have to actually commit
it! (I am not committer)
Sorry for the delay. Bugs and patches can easily get forgotten after a while.
Greetings,
Maxime
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48059] Acknowledgement ([PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update)
2021-05-28 7:56 ` Maxime Devos
@ 2021-05-28 16:17 ` Edouard Klein
0 siblings, 0 replies; 8+ messages in thread
From: Edouard Klein @ 2021-05-28 16:17 UTC (permalink / raw)
To: Maxime Devos; +Cc: 48059
Thanks, no worries, I understand :)
Maxime Devos writes:
> edk@beaver-labs.com schreef op vr 28-05-2021 om 09:38 [+0200]:
>> Sorry to be a bother, but could we please merge this ? We depend on this
>> package and we have to use guix time machine because it is broken. We
>> would very much like to enjoy the new 1.3 features.
>
> I guess it is good to merge, but someone else would have to actually commit
> it! (I am not committer)
>
> Sorry for the delay. Bugs and patches can easily get forgotten after a while.
>
> Greetings,
> Maxime
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-05-28 16:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-27 13:20 [bug#48059] [PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update Edouard Klein
2021-04-27 13:39 ` Tobias Geerinckx-Rice via Guix-patches via
2021-04-27 16:24 ` Edouard Klein
2021-04-27 13:43 ` Tobias Geerinckx-Rice via Guix-patches via
2021-04-27 16:26 ` Edouard Klein
[not found] ` <handler.48059.B.161952974722963.ack@debbugs.gnu.org>
2021-05-28 7:38 ` [bug#48059] Acknowledgement ([PATCH] gnu: python-libtmux: Fix build by removing tests broken by tmux update) edk
2021-05-28 7:56 ` Maxime Devos
2021-05-28 16:17 ` Edouard Klein
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).