GNU bug report logs - #71751
[PATCH] gnu: python-trio: Disable failing test.

Previous Next

Package: guix-patches;

Reported by: Juliana Sims <juli <at> incana.org>

Date: Mon, 24 Jun 2024 17:23:02 UTC

Severity: normal

Tags: patch

Done: Juliana Sims <juli <at> incana.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71751 in the body.
You can then email your comments to 71751 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#71751; Package guix-patches. (Mon, 24 Jun 2024 17:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juliana Sims <juli <at> incana.org>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org. (Mon, 24 Jun 2024 17:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: guix-patches <at> gnu.org
Cc: Juliana Sims <juli <at> incana.org>
Subject: [PATCH] gnu: python-trio: Disable failing test.
Date: Mon, 24 Jun 2024 13:18:11 -0400
Hello,

This test has begun failing, causing the build of python-trio to fail as well.

Oddly, there doesn't appear to be any change in the Trio code that should
trigger a new test failure, so this may not be the best solution. However, the
code for is_main_thread() relies on signals working properly, which, as the
adjacent comment points out, does not work at build time.

If anyone has a better idea of what's going on here and, therefore, how to fix
it, feel free to offer input or a better patch. In the meantime, this should get
python-trio and its dependants building again.

Thanks,
Juli

* gnu/packages/python-xyz.scm [arguments]: Disable failing test.

Change-Id: I8a066fd17654ce8b1dfb0411d8df621e0f45a63d
---
 gnu/packages/python-xyz.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ad89b8c32e..341b0c6feaf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28882,6 +28882,7 @@ (define-public python-trio
                          " and not test_for_leaking_fds"
                          ;; Signals don’t work in the build sandbox.
                          " and not test_open_signal_receiver"
+                         " and not test_is_main_thread"
                          ;; These try to raise KeyboardInterrupt which does not work
                          ;; in the build environment.
                          " and not test_ki_self"

base-commit: ac105faf4ceb67468c7011505a07a67b0c1b045f
-- 
2.45.1





Information forwarded to guix-patches <at> gnu.org:
bug#71751; Package guix-patches. (Mon, 24 Jun 2024 17:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 71751 <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: 71751 <at> debbugs.gnu.org
Subject: Re: bug#71751: Acknowledgement ([PATCH] gnu: python-trio: Disable
 failing test.)
Date: Mon, 24 Jun 2024 13:29:39 -0400
I happened to be reading the NEWS file for Guile 3.0.10 when my system 
reconfigure failed, leading me to notice and fix this failing build. 
After submitting this bug, I returned to reading that file and noticed 
a mention of signal handling in child processes[1]. Could this be 
related to the present issue of signals at build time?

-Juli

[1] http://git.savannah.gnu.org/cgit/guile.git/tree/NEWS#n206







Information forwarded to guix-patches <at> gnu.org:
bug#71751; Package guix-patches. (Mon, 01 Jul 2024 16:50:01 GMT) Full text and rfc822 format available.

Message #11 received at 71751 <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: 71751 <at> debbugs.gnu.org
Subject: Re: bug#71751: Acknowledgement ([PATCH] gnu: python-trio: Disable
 failing test.)
Date: Mon, 01 Jul 2024 12:48:39 -0400
It appears that whatever was causing this build to fail no longer is.






bug closed, send any further explanations to 71751 <at> debbugs.gnu.org and Juliana Sims <juli <at> incana.org> Request was from Juliana Sims <juli <at> incana.org> to control <at> debbugs.gnu.org. (Mon, 01 Jul 2024 16:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Jul 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 350 days ago.

Previous Next


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