guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/26: gnu: python-torchvision: Update to 0.15.2.


From: guix-commits
Subject: 21/26: gnu: python-torchvision: Update to 0.15.2.
Date: Wed, 10 May 2023 13:31:01 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 7b9e90e40deceb74920adfdaaa758938f13fe594
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 17:52:52 2023 +0200

    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.
---
 gnu/packages/machine-learning.scm | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 5489858d3a..6fc693a47b 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3570,7 +3570,7 @@ implementations and an easy-to-use API to create custom 
metrics.  It offers:
 (define-public python-torchvision
   (package
     (name "python-torchvision")
-    (version "0.13.0")
+    (version "0.15.2")
     (source (origin
               (method git-fetch)
               (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))
               (sha256
                (base32
-                "19f6s3ffwkdvjjbvib18c8n7vhysg58smxzq3rvii1c0z4g3b0cw"))))
-    (build-system python-build-system)
+                "1cq2s13vkgg9rljjbrm4g33yxq7q5zqp7f4xm5cq624gvs0wxmi8"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #false ;the test suite is expensive and there is no easy way
-                       ;to subset it.
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-vv")))))))
+     (list #:tests? #false)) ;the test suite is expensive and there is no easy
+                             ;way to subset it.
     (inputs
      (list libpng
            libjpeg-turbo))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]