guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8957ef1acd8b947e0d9f6567a864b7224d66e1f7
Author: Ayan Das <[email protected]>
AuthorDate: Thu Jan 29 17:24:08 2026 +0530

    gnu: python-pytorch-geometric: Fix tests with PyTorch 2.10.
    
    * gnu/packages/machine-learning.scm (python-pytorch-geometric)[arguments]:
      Ignore DeprecationWarnings raised during import.
    
    Change-Id: I9e9da73b304b80d2499d24acac41970a08886e7b
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/machine-learning.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index a937054e18..632207e4b7 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5479,8 +5479,10 @@ in the audio domain.")
       (arguments
        (list
         #:test-flags
-        ;; Hangs with AttributeError: 'NoneType' object has no attribute 
'rpc_async'
-        '(list "--ignore=test/distributed/test_rpc.py"
+        '(list ;; PyTorch 2.10 raises deprecation warnings during import.
+               "-W" "ignore::DeprecationWarning"
+               ;; Hangs with AttributeError: 'NoneType' object has no 
attribute 'rpc_async'
+               "--ignore=test/distributed/test_rpc.py"
                ;; A message passing jinja template is missing
                "--ignore=test/nn/conv/test_message_passing.py"
                "--ignore=test/nn/test_sequential.py"

Reply via email to