guix-commits
[Top][All Lists]
Advanced

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

06/10: gnu: python-gpy: Adjust for newer python.


From: guix-commits
Subject: 06/10: gnu: python-gpy: Adjust for newer python.
Date: Tue, 5 Dec 2023 08:11:41 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 504e62144539ac68c0f64f10dee872b47f088a26
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 13:40:49 2023 +0200

    gnu: python-gpy: Adjust for newer python.
    
    * gnu/packages/python-science.scm (python-gpy)[source]: Add snippet to
    adjust python module imports.
    
    Change-Id: I0772febb97d75e0a0caa331913c9e7453d11e70d
---
 gnu/packages/python-science.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 604ef6d08e..1b7ae663eb 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1872,7 +1872,11 @@ for parameterized model creation and handling.  Its 
features include:
               (uri (pypi-uri "GPy" version))
               (sha256
                (base32
-                "1yx65ajrmqp02ykclhlb0n8s3bx5r0xj075swwwigiqaippr7dx2"))))
+                "1yx65ajrmqp02ykclhlb0n8s3bx5r0xj075swwwigiqaippr7dx2"))
+             (snippet
+              #~(begin (use-modules (guix build utils))
+                       (substitute* "GPy/models/state_space_main.py"
+                         (("collections\\.Iterable") 
"collections.abc.Iterable"))))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases



reply via email to

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