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
(package
(name "python-hmmlearn")
(version "0.2.6")
(version "0.2.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hmmlearn" version))
(sha256
(base32
"1my0j3rzp17438idr32ssh0j969a98yjblx5igx5kgiiigr9qa1a"))
(snippet
#~(begin
(use-modules ((guix build utils)))
(delete-file "lib/hmmlearn/_hmmc.c")))))
"1qgnf1kdxicygy8nvpv866iqvwq0rc6xkd3s6slmvxvsy8h2fjvb"))))
(build-system python-build-system)
(arguments
`(#:phases
@ -3247,7 +3243,11 @@ (define-public python-hmmlearn
(with-directory-excursion (string-append (assoc-ref outputs "out") "/lib")
(invoke "python" "-m" "pytest"))))))))
(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))
(native-inputs
(list python-pytest))