From patchwork Mon Jun 24 17:18:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Juliana Sims X-Patchwork-Id: 65601 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CDE3527BBE2; Mon, 24 Jun 2024 18:23:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F61827BBE9 for ; Mon, 24 Jun 2024 18:23:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLnPF-0002MD-Qq; Mon, 24 Jun 2024 13:23:05 -0400 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 1sLnPE-0002M4-Gz for guix-patches@gnu.org; Mon, 24 Jun 2024 13:23:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLnPE-0005jg-8Z; Mon, 24 Jun 2024 13:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLnPC-0005gi-GV; Mon, 24 Jun 2024 13:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71751] [PATCH] gnu: python-trio: Disable failing test. Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 24 Jun 2024 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71751 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71751@debbugs.gnu.org Cc: Juliana Sims , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.171924974921821 (code B ref -1); Mon, 24 Jun 2024 17:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2024 17:22:29 +0000 Received: from localhost ([127.0.0.1]:35177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLnOf-0005ft-9w for submit@debbugs.gnu.org; Mon, 24 Jun 2024 13:22:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:60678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLnOc-0005fl-T3 for submit@debbugs.gnu.org; Mon, 24 Jun 2024 13:22:27 -0400 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 1sLnOb-0002Hg-Ex for guix-patches@gnu.org; Mon, 24 Jun 2024 13:22:25 -0400 Received: from out-179.mta1.migadu.com ([95.215.58.179]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLnOW-0005bs-50 for guix-patches@gnu.org; Mon, 24 Jun 2024 13:22:25 -0400 X-Envelope-To: guix-patches@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incana.org; s=key1; t=1719249730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eCdEr8CE2e9ZcZvtpOTynoSafEwCMeNvFhIlG6deoeY=; b=Bytm2X1WEWwcSroWqLONgm9Klf2GtMMJTkclFE1I1HWtt2edZ0TJPyoTuZymUUM6ME0UyQ anwufsPq9xL3DjaQRolFzXVFiV+I++AQTYXba8kaQMCLVxm8A9UlmBCA77xvP4CWpipV0z zaoGVY5cL4mlHtg1IWmJ5pwssscpxfbhy84TjPxJmXHXDwsnZ69or4EAC6+LO0cTPgd2Bh Wc30lSvnZEGwTfxIh1veJhJfkpJ+1iIje+OAW8NRIk0IM2nBPrWdQcuk1XTK50Tb7cCJfv NgpKgO4FvqRHy72WbgQ+ibdnuGJ10E9nHXs3HDvqdVeBq1Udx7K7VUgpYGExbQ== X-Envelope-To: juli@incana.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Date: Mon, 24 Jun 2024 13:18:11 -0400 Message-ID: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.179; envelope-from=juli@incana.org; helo=out-179.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Juliana Sims X-ACL-Warn: , Juliana Sims via Guix-patches X-Patchwork-Original-From: Juliana Sims via Guix-patches via From: Juliana Sims Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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(+) base-commit: ac105faf4ceb67468c7011505a07a67b0c1b045f 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"