diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-05 13:40:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-12-05 13:43:42 +0200 |
commit | 504e62144539ac68c0f64f10dee872b47f088a26 (patch) | |
tree | 6208ee43152a274c23112540197628bd4dafd0eb /gnu | |
parent | 7e795eae155a0fea0739584020fb0945c4d1a1d0 (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-science.scm | 6 |
1 files changed, 5 insertions, 1 deletions
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 |