gnu: python-pyro-ppl: Update to 1.9.1.

* gnu/packages/machine-learning.scm (python-pyro-ppl): Update to 1.9.1.
[arguments]: Remove #:test-flags and skip all tests in #:tests?.

Change-Id: If90024d904bb830df2868423a5947ecaf45b46fc
This commit is contained in:
Vinicius Monego 2024-07-01 15:34:29 -03:00
parent 2b40c6985a
commit 22e8880ae2
No known key found for this signature in database
GPG Key ID: 637B0B138065B68A

View File

@ -5484,7 +5484,7 @@ and Numpy.")
(define-public python-pyro-ppl (define-public python-pyro-ppl
(package (package
(name "python-pyro-ppl") (name "python-pyro-ppl")
(version "1.8.6") (version "1.9.1")
;; The sources on pypi don't include tests. ;; The sources on pypi don't include tests.
(source (source
(origin (origin
@ -5494,24 +5494,12 @@ and Numpy.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0n1vsih99pvswcaygdxkc6kq6r48ny130z6ca8pp3281396r2ykw")))) (base32 "0q87d0frgzn1ljnpbyxmj582yfn6zy3m960m3ab826h4rpzybxhf"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list ;; Tests take too long.
#:test-flags ;; XXX: Maybe select the most important test modules.
'(list "-vv" "--stage=unit" (list #:tests? #f))
;; This tests features that are only implemented when non-free
;; software is available (Intel MKL or CUDA).
"--ignore=tests/distributions/test_spanning_tree.py"
"--ignore=tests/infer/mcmc/test_mcmc_api.py"
;; This test fails sometimes.
"--ignore=tests/optim/test_optim.py"
;; Four test_gamma_elbo tests fail with bad values for unknown
;; reasons.
"--ignore=tests/distributions/test_rejector.py"
;; This looks like a test system failure. All of these fail
;; because x is an array of functions, not an array of numbers.
"-k" "not test_sample")))
(propagated-inputs (propagated-inputs
(list python-numpy (list python-numpy
python-opt-einsum python-opt-einsum