me
/
guix
Archived
1
0
Fork 0

gnu: python-torchvision: Update to 0.15.2.

* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.15.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
master
Ricardo Wurmus 2023-05-10 17:52:52 +02:00
parent 452fec7226
commit 7b9e90e40d
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 11 deletions

View File

@ -3570,7 +3570,7 @@ implementations and an easy-to-use API to create custom metrics. It offers:
(define-public python-torchvision (define-public python-torchvision
(package (package
(name "python-torchvision") (name "python-torchvision")
(version "0.13.0") (version "0.15.2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -3580,17 +3580,11 @@ implementations and an easy-to-use API to create custom metrics. It offers:
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"19f6s3ffwkdvjjbvib18c8n7vhysg58smxzq3rvii1c0z4g3b0cw")))) "1cq2s13vkgg9rljjbrm4g33yxq7q5zqp7f4xm5cq624gvs0wxmi8"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:tests? #false ;the test suite is expensive and there is no easy way (list #:tests? #false)) ;the test suite is expensive and there is no easy
;to subset it. ;way to subset it.
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(inputs (inputs
(list libpng (list libpng
libjpeg-turbo)) libjpeg-turbo))