gnu: python-torchvision: Update to 0.17.1.

* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.17.1.
[source]: Add snippet to remove "android" and "ios" directories.
This commit is contained in:
David Elsing 2024-03-23 22:05:07 +00:00 committed by Ludovic Courtès
parent d218d024ed
commit 4f50f86e41
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5200,7 +5200,7 @@ (define-public python-torchmetrics
(define-public python-torchvision
(package
(name "python-torchvision")
(version "0.15.2")
(version "0.17.1")
(source (origin
(method git-fetch)
(uri (git-reference
@ -5210,7 +5210,12 @@ (define-public python-torchvision
(file-name (git-file-name name version))
(sha256
(base32
"1cq2s13vkgg9rljjbrm4g33yxq7q5zqp7f4xm5cq624gvs0wxmi8"))))
"094jz0ryzh0yjxf687r61r482fdh3bax8ix2csghraps0z1sns1b"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "android")
(delete-file-recursively "ios")))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #false)) ;the test suite is expensive and there is no easy