unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66931] [PATCH] gnu: python-autograd: Update to 1.5.
@ 2023-11-04 15:07 Felix Gruber
  2023-12-06 22:08 ` bug#66931: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Gruber @ 2023-11-04 15:07 UTC (permalink / raw)
  To: 66931; +Cc: Felix Gruber

* gnu/packages/machine-learning.scm (python-autograd): Update to 1.5.
  [build-system]: Use pyproject-build-system.
  [arguments]: Remove custom 'check phase.

Change-Id: Ic76510b94d268d5dba6e9b0e057fcfca125e424f
---
 gnu/packages/machine-learning.scm | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index a84377e1eb..7518cd413a 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1923,9 +1923,9 @@ (define-public python-cmaes
     (license license:expat)))
 
 (define-public python-autograd
-  (let* ((commit "442205dfefe407beffb33550846434baa90c4de7")
+  (let* ((commit "c6d81ce7eede6db801d4e9a92b27ec5d409d0eab")
          (revision "0")
-         (version (git-version "0.0.0" revision commit)))
+         (version (git-version "1.5" revision commit)))
     (package
       (name "python-autograd")
       (home-page "https://github.com/HIPS/autograd")
@@ -1936,19 +1936,14 @@ (define-public python-autograd
                       (commit commit)))
                 (sha256
                  (base32
-                  "189sv2xb0mwnjawa9z7mrgdglc1miaq93pnck26r28fi1jdwg0z4"))
+                  "04kljgydng42xlg044h6nbzxpban1ivd6jzb8ydkngfq88ppipfk"))
                 (file-name (git-file-name name version))))
       (version version)
-      (build-system python-build-system)
+      (build-system pyproject-build-system)
       (native-inputs
        (list python-nose python-pytest))
       (propagated-inputs
        (list python-future python-numpy))
-      (arguments
-       `(#:phases (modify-phases %standard-phases
-                    (replace 'check
-                      (lambda _
-                        (invoke "py.test" "-v"))))))
       (synopsis "Efficiently computes derivatives of NumPy code")
       (description "Autograd can automatically differentiate native Python and
 NumPy code.  It can handle a large subset of Python's features, including loops,

base-commit: 9dcd8802f5bc472579f23a38dcf437f8a9ac976c
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#66931: [PATCH] gnu: python-autograd: Update to 1.5.
  2023-11-04 15:07 [bug#66931] [PATCH] gnu: python-autograd: Update to 1.5 Felix Gruber
@ 2023-12-06 22:08 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-12-06 22:08 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 66931-done

Hi,

Felix Gruber <felgru@posteo.net> skribis:

> * gnu/packages/machine-learning.scm (python-autograd): Update to 1.5.
>   [build-system]: Use pyproject-build-system.
>   [arguments]: Remove custom 'check phase.
>
> Change-Id: Ic76510b94d268d5dba6e9b0e057fcfca125e424f

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-06 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-04 15:07 [bug#66931] [PATCH] gnu: python-autograd: Update to 1.5 Felix Gruber
2023-12-06 22:08 ` bug#66931: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).