From patchwork Mon Mar 10 11:54:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle Licht X-Patchwork-Id: 40052 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 1B9A227BBEA; Mon, 10 Mar 2025 14:23:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham 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 BE77627BBE2 for ; Mon, 10 Mar 2025 14:23:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tre2A-0004l9-Gm; Mon, 10 Mar 2025 10:23:10 -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 1tre24-0004kZ-Sc for guix-patches@gnu.org; Mon, 10 Mar 2025 10:23:05 -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 1tre24-0007c0-Iw for guix-patches@gnu.org; Mon, 10 Mar 2025 10:23:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=7u8v1imOMpCgl2VFu0hT95BqNVjQLsUq3i7TdM/qHfw=; b=jElTgzjeRR7jc4j/5rsRLv3OCUziiUYQdl65PPTDJsdSGYkZdwtC8VPtMs/D/83yrM9cJyuHZo1BuM8JDyjQspgVvYz+Z8OAqNq5QAL7r5HWZA9O4q6enOVXGItkv9WgqD9vxewDZg6Imd4Mn8kXg14e4fup6Eo2KY7x77w3Vd03TCgIMf7GtcspT0MKU4K8xzDza+OFXPz8sB6M2bQLfz5QaWWXR5G/1q092NFhXBgJUv/+eAjwgS0M5oHKPQvMK/Ew5BzOEMxK0DFdncjcYGmSb1Ci5WDqZwXwFh0t+R9MmWWbOV/pYjMyU3RIghfMNDSUiXqPhPb67JTo3jjUSw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tre22-00061L-K2; Mon, 10 Mar 2025 10:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76917] [PATCH] gnu: python-numba: Disable tests that are not reproducible. Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 10 Mar 2025 14:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76917@debbugs.gnu.org Cc: Lars-Dominik Braun , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.174161654023072 (code B ref -1); Mon, 10 Mar 2025 14:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2025 14:22:20 +0000 Received: from localhost ([127.0.0.1]:39105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tre1F-0005zw-M4 for submit@debbugs.gnu.org; Mon, 10 Mar 2025 10:22:20 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44512) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tre1C-0005zd-C4 for submit@debbugs.gnu.org; Mon, 10 Mar 2025 10:22:11 -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 1tre13-0004fv-2V for guix-patches@gnu.org; Mon, 10 Mar 2025 10:22:01 -0400 Received: from mail2.fsfe.org ([213.95.165.55]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tre0z-0007W3-Tf for guix-patches@gnu.org; Mon, 10 Mar 2025 10:22:00 -0400 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2023072501; t=1741616556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=7u8v1imOMpCgl2VFu0hT95BqNVjQLsUq3i7TdM/qHfw=; b=WOJlKq9reImONdvfA/KpMcbfGCnC9K9QfvodW1VlwTtikzA0SttOFFa+UE+2+q/VLb34oy AmK2p/PUz/ELqd5pl+NKqna9aZQvYxDSe3LKmXKDb25PqrJ0Ab/1/foOui4M3BdhNe1gkV FqR/B9DWYUVFb3zMT9bedC6pKgokLNU= Date: Mon, 10 Mar 2025 12:54:32 +0100 Message-Id: MIME-Version: 1.0 Received-SPF: pass client-ip=213.95.165.55; envelope-from=jlicht@fsfe.org; helo=mail2.fsfe.org X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.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_HI=-5, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=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: , 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 * gnu/packages/python-xyz.scm (python-numba):[arguments]: Adjust the 'disable-failing-tests phase to skip some additional tests that can fail depending on current CPU. Change-Id: I67f3a100f5863f6d946a8d07428e802178bd7391 Reviewed-by: Greg Hogan --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) base-commit: 1548403fa70609a2efd47d1a802587799dc022d6 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9f2829c4a8..4cb7c72a82 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29988,6 +29988,29 @@ (define-public python-numba (substitute* "numba/tests/test_import.py" (("def test_no_accidental_warnings") "def disabled_test_no_accidental_warnings")) + ;; These tests fail due to result rounding depending on CPU. + (substitute* "numba/tests/test_looplifting.py" + (("def test_lift_objectmode_issue_4223") + "def disabled_test_lift_objectmode_issue_4223")) + (substitute* "numba/tests/test_extending.py" + (("def test_series_ufunc") + "def disabled_test_series_ufunc") + (("def test_index_ufunc") + "def disabled_test_index_ufunc")) + (substitute* "numba/tests/test_array_exprs.py" + (("def test_explicit_output") + "def disabled_test_explicit_output")) + (substitute* "numba/tests/test_target_extension.py" + (("def test_basic_offload") + "def disabled_test_basic_offload")) + (substitute* "numba/tests/test_np_functions.py" + (("def test_windowing") + "def disabled_test_windowing")) + ;; This fails nondeterministically, possibly depending on CPU. + ;; https://github.com/numba/numba/issues/8282. + (substitute* "numba/tests/test_function_type.py" + (("def test_wrapper_address_protocol_libm") + "def disabled_test_wrapper_address_protocol_libm")) ;; Some tests timeout or crash on some architectures. ,@(cond ((target-aarch64?)