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
This commit is contained in:
Efraim Flashner 2023-12-05 13:40:49 +02:00
parent 7e795eae15
commit 504e621445
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1872,7 +1872,11 @@ (define-public python-gpy
(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