gnu: python-pytorch-geometric: Update to commit 85cf9fc.

Fixes guix/guix#1043.

* gnu/packages/machine-learning.scm (python-pytorch-geometric): Update to
commit 85cf9fc.
[arguments]: Fix the 'delete-top-level-directories phase.
[propagated-inputs]: Add python-xxhash.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
David Elsing 2025-07-11 20:54:39 +02:00 committed by Andreas Enge
parent baba8a4370
commit fd8e1f3e65
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -89,6 +89,7 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages dejagnu)
#:use-module (gnu packages digest)
#:use-module (gnu packages documentation)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
@ -5461,18 +5462,20 @@ Note: currently this package does not provide GPU support.")
python-sympy)))))
(define-public python-pytorch-geometric
(let ((commit "85cf9fc12b1138c1f2adbed8a761356c3f4197e7")
(revision "0"))
(package
(name "python-pytorch-geometric")
(version "2.6.1")
(version (git-version "2.6.1" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pyg-team/pytorch_geometric/")
(commit version)))
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0dbxz9d22vzm7fr9kgg66hj3sf8ag2ly8qky58cxvn1hyjl5h3v7"))))
"104v3w9yv7akyxpyd8aq85mw1mncql8mvr1p1b34ph09csqh68hq"))))
(build-system pyproject-build-system)
(arguments
(list
@ -5509,7 +5512,7 @@ Note: currently this package does not provide GPU support.")
;; The presence of these directories confuses the pyproject build
;; system.
(for-each delete-file-recursively
'("conda" "docker" "graphgym")))))))
'("docker" "graphgym")))))))
(propagated-inputs
(list onnx
python-captum
@ -5535,9 +5538,10 @@ Note: currently this package does not provide GPU support.")
python-sympy
python-tabulate
python-torchmetrics
python-tqdm))
python-tqdm
python-xxhash))
(native-inputs
(list python-flit-core
(list python-flit-core-next
python-pytest
python-pytest-cov))
(home-page "https://pyg.org")
@ -5545,7 +5549,7 @@ Note: currently this package does not provide GPU support.")
(description
"PyG is a library built upon PyTorch to easily write and train Graph
Neural Networks for a wide range of applications related to structured data.")
(license license:expat)))
(license license:expat))))
(define-public python-lightning-cloud
(package