GNU bug report logs - #78726
[PATCH 0/5] Update PyTorch to 2.7.0 with dependencies

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Ayan Das <bvits@HIDDEN>; Keywords: patch; merged with #78721, #78722, #78723, #78724, #78725; dated Sun, 8 Jun 2025 15:25:06 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Forcibly Merged 78721 78722 78723 78724 78725 78726. Request was from Ayan Das <bvits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to '[PATCH 0/5] Update PyTorch to 2.7.0 with dependencies' from '[PATCH 5/5] gnu: python-captum: Fix tests for PyTorch 2.7.0.' Request was from Ayan Das <bvits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 78721 78722 78723 78724 78725 78726. Request was from Ayan Das <bvits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Jun 2025 15:24:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 08 11:24:52 2025
Received: from localhost ([127.0.0.1]:52577 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uOHtE-0006q9-4S
	for submit <at> debbugs.gnu.org; Sun, 08 Jun 2025 11:24:52 -0400
Received: from lists.gnu.org ([2001:470:142::17]:53054)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <bvits@HIDDEN>) id 1uOHt4-0006pL-AY
 for submit <at> debbugs.gnu.org; Sun, 08 Jun 2025 11:24:42 -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 <bvits@HIDDEN>) id 1uOHsy-0004FX-PA
 for guix-patches@HIDDEN; Sun, 08 Jun 2025 11:24:36 -0400
Received: from mx1.riseup.net ([198.252.153.129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bvits@HIDDEN>) id 1uOHsx-0002Bj-8Y
 for guix-patches@HIDDEN; Sun, 08 Jun 2025 11:24:36 -0400
Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx1.riseup.net (Postfix) with ESMTPS id 4bFf3q1tW9zDqQl
 for <guix-patches@HIDDEN>; Sun,  8 Jun 2025 15:24:23 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1749396274; bh=nVPIyCq5lBr5CV16EczeK0tNFVmQUBPL1wbrsRHlXZs=;
 h=From:To:Subject:Date:In-Reply-To:References:From;
 b=ixJGn2gPCPkpeY6/2ntRYtlIT0dc5PxbG2CyktUf48n8/Mko8JRDtN0WQC9MkXn/y
 IkKRjSdAajl/QyQ9BaxoJ1bOyLNp81K/bCrlH0KDkNX3R6NEOZDR9B1FD8UEFdY780
 +eOM0BF04kFbLTlN8vf/bPL3EV4P5vY4/ZK2otn4=
X-Riseup-User-ID: D3E1D53F1D1AB871C6A6A5DF2D89645093E7DED373B24879A939FD41E31704AA
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4bFf3p1vGrzFpry
 for <guix-patches@HIDDEN>; Sun,  8 Jun 2025 15:24:21 +0000 (UTC)
From: Ayan Das <bvits@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 5/5] gnu: python-captum: Fix tests for PyTorch 2.7.0.
Date: Sun,  8 Jun 2025 20:52:41 +0530
Message-ID: <3646842b94f3ae370a54b7bf9d856c1a6b524271.1749395917.git.bvits@HIDDEN>
In-Reply-To: <cover.1749395917.git.bvits@HIDDEN>
References: <cover.1749395917.git.bvits@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=198.252.153.129; envelope-from=bvits@HIDDEN;
 helo=mx1.riseup.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/machine-learning.scm (python-captum)[arguments]: Skip
test_exp_sets_with_diffent_lengths which fails with PyTorch 2.7.0's
stricter torch.load weights_only behavior.

Signed-off-by: Ayan Das <bvits@HIDDEN>
---
 gnu/packages/machine-learning.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 9636e2cd19..c1621d1e0b 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5611,11 +5611,14 @@ (define-public python-captum
     (arguments
      (list
       #:test-flags
-      '(list "-k"
-             ;; These two tests (out of more than 1000 tests) fail because of
-             ;; accuracy problems.
-             "not test_softmax_classification_batch_multi_target\
- and not test_softmax_classification_batch_zero_baseline")))
+      '(list "-k" (string-append
+                   ;; These two tests (out of more than 1000 tests) fail because of
+                   ;; accuracy problems.
+                   "not test_softmax_classification_batch_multi_target"
+                   " and not test_softmax_classification_batch_zero_baseline"
+                   ;; This test fails with PyTorch 2.7.0 due to stricter
+                   ;; torch.load weights_only behavior.
+                   " and not test_exp_sets_with_diffent_lengths"))))
     (propagated-inputs
      (list python-matplotlib python-numpy python-pytorch python-tqdm))
     (native-inputs (list jupyter
-- 
2.49.0





Acknowledgement sent to Ayan Das <bvits@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#78726; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 8 Jun 2025 16:00:03 UTC

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