guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-scipy: Update to 1.6.0.


From: guix-commits
Subject: branch master updated: gnu: python-scipy: Update to 1.6.0.
Date: Tue, 09 Feb 2021 10:48:41 -0500

This is an automated email from the git hooks/post-receive script.

jlicht pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2571cf0  gnu: python-scipy: Update to 1.6.0.
2571cf0 is described below

commit 2571cf025e61f9f767e316841961904912beedf0
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Tue Jan 5 17:09:15 2021 +0000

    gnu: python-scipy: Update to 1.6.0.
    
    * gnu/packages/python-xyz.scm (python-scipy): Update to 1.6.0.
    [inputs]: Add pybind11.
    [arguments]<#:phases>['change-home-dir]: New phase.
    
    Signed-off-by: Jelle Licht <jlicht@fsfe.org>
---
 gnu/packages/python-science.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 99903ef..a1e2b57 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,13 +51,13 @@
 (define-public python-scipy
   (package
     (name "python-scipy")
-    (version "1.3.2")
+    (version "1.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "scipy" version))
        (sha256
-        (base32 "192d8dsybvhv19igkrsafbdafx198nz7pibkjgrqjhlr66s3jfd0"))))
+        (base32 "0rh5b1rwdcvvagld8vpxnpaibszy1skpx39a0fwzd5gx5pwcjvfb"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-numpy" ,python-numpy)
@@ -64,7 +65,8 @@
        ("python-pyparsing" ,python-pyparsing)))
     (inputs
      `(("lapack" ,lapack)
-       ("openblas" ,openblas)))
+       ("openblas" ,openblas)
+       ("pybind11" ,pybind11)))
     (native-inputs
      `(("python-cython" ,python-cython)
        ("python-pytest" ,python-pytest)
@@ -77,6 +79,11 @@
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-before 'build 'change-home-dir
+           (lambda _
+             ;; Change from /homeless-shelter to /tmp for write permission.
+             (setenv "HOME" "/tmp")
+             #t))
          (add-after 'unpack 'disable-broken-tests
            (lambda _
              (substitute* "scipy/sparse/linalg/dsolve/tests/test_linsolve.py"



reply via email to

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