gnu: python-hmmlearn: Update to 0.2.7.

* gnu/packages/machine-learning.scm (python-hmmlearn): Update to 0.2.7.
[source]<#:origin>: Remove deletion snippet for file removed upstream.
[propagated-inputs]: Add pybind11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2022-09-09 14:31:47 +00:00 committed by Ludovic Courtès
parent ca428f944f
commit bddb43b422
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3224,18 +3224,14 @@ (define-public python-torchfile
(define-public python-hmmlearn (define-public python-hmmlearn
(package (package
(name "python-hmmlearn") (name "python-hmmlearn")
(version "0.2.6") (version "0.2.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "hmmlearn" version)) (uri (pypi-uri "hmmlearn" version))
(sha256 (sha256
(base32 (base32
"1my0j3rzp17438idr32ssh0j969a98yjblx5igx5kgiiigr9qa1a")) "1qgnf1kdxicygy8nvpv866iqvwq0rc6xkd3s6slmvxvsy8h2fjvb"))))
(snippet
#~(begin
(use-modules ((guix build utils)))
(delete-file "lib/hmmlearn/_hmmc.c")))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -3247,7 +3243,11 @@ (define-public python-hmmlearn
(with-directory-excursion (string-append (assoc-ref outputs "out") "/lib") (with-directory-excursion (string-append (assoc-ref outputs "out") "/lib")
(invoke "python" "-m" "pytest")))))))) (invoke "python" "-m" "pytest"))))))))
(propagated-inputs (propagated-inputs
(list python-cython python-numpy python-scikit-learn python-scipy (list pybind11
python-cython
python-numpy
python-scikit-learn
python-scipy
python-setuptools-scm)) python-setuptools-scm))
(native-inputs (native-inputs
(list python-pytest)) (list python-pytest))