diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-24 11:25:07 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-24 12:41:43 +0100 |
| commit | e4cd1b9d8f7402a9d16aaa937795fcbd84577065 (patch) | |
| tree | 5676b89c58d92dfc80095406ade1d729fd2ad440 /gnu | |
| parent | 897d8a0d2019dc04a813c8adebcdb2668b961586 (diff) | |
gnu: python-pgmpy: Skip more tests, run in parallel.
* gnu/packages/statistics.scm (python-pgmpy) [arguments] <test-flags>:
Skip 4 more tests, run in up to 8 threads to improve performance,
supported upstream.
[native-inputs]: Add python-pytest-xdist.
Change-Id: I7071114299dc2dc4e52e79a36fcda0d12892653f
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/statistics.scm | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 787634c8243..13f80627b65 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm | |||
| @@ -3328,11 +3328,24 @@ statistical summary in arrays and enumerables.") | |||
| 3328 | "1hg6wrg3jcac71zn4gknni1wrn38wa86ka3sgp2bndz59mx6sr2s")))) | 3328 | "1hg6wrg3jcac71zn4gknni1wrn38wa86ka3sgp2bndz59mx6sr2s")))) |
| 3329 | (build-system pyproject-build-system) | 3329 | (build-system pyproject-build-system) |
| 3330 | (arguments | 3330 | (arguments |
| 3331 | (list #:test-flags | 3331 | (list |
| 3332 | #~(list "-k" (string-append | 3332 | #:test-flags |
| 3333 | "not test_pillai" | 3333 | #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) |
| 3334 | " and not test_estimate_with_cache_no_llm_calls" | 3334 | "-k" (string-join |
| 3335 | " and not test_estimate_with_orientations")))) | 3335 | ;; AssertionError: False is not true |
| 3336 | (list "not test_query_evidence" | ||
| 3337 | ;; ValueError: Experimental support for categorical | ||
| 3338 | ;; data is not implemented for current tree method | ||
| 3339 | ;; yet. | ||
| 3340 | "test_pillai" | ||
| 3341 | "test_estimate_with_cache_no_llm_calls" | ||
| 3342 | "test_estimate_with_orientations" | ||
| 3343 | ;; _flapack.error: (liwork>=max(1,10*n)||liwork==-1) | ||
| 3344 | ;; failed for 10th keyword liwork: dsyevr:liwork=1 | ||
| 3345 | "test_estimate" | ||
| 3346 | "test_score_bnlearn" | ||
| 3347 | "test_score_manual") | ||
| 3348 | " and not ")))) | ||
| 3336 | (propagated-inputs (list python-daft | 3349 | (propagated-inputs (list python-daft |
| 3337 | python-joblib | 3350 | python-joblib |
| 3338 | python-networkx | 3351 | python-networkx |
| @@ -3348,13 +3361,14 @@ statistical summary in arrays and enumerables.") | |||
| 3348 | (native-inputs (list python-mock | 3361 | (native-inputs (list python-mock |
| 3349 | python-pyro-ppl | 3362 | python-pyro-ppl |
| 3350 | python-pytest | 3363 | python-pytest |
| 3364 | python-pytest-xdist | ||
| 3351 | python-setuptools | 3365 | python-setuptools |
| 3352 | python-wheel | 3366 | python-wheel |
| 3353 | python-xgboost)) | 3367 | python-xgboost)) |
| 3354 | (home-page "https://github.com/pgmpy/pgmpy") | 3368 | (home-page "https://github.com/pgmpy/pgmpy") |
| 3355 | (synopsis "Probabilistic Graphical Models library") | 3369 | (synopsis "Probabilistic Graphical Models library") |
| 3356 | (description "This package provides a library for Probabilistic | 3370 | (description |
| 3357 | Graphical Models. It can be used for learning (Structure and Parameter), | 3371 | "This package provides a library for Probabilistic Graphical Models. It |
| 3358 | inference (Probabilistic and Causal), and simulations in Bayesian | 3372 | can be used for learning (Structure and Parameter), inference (Probabilistic |
| 3359 | Networks.") | 3373 | and Causal), and simulations in Bayesian Networks.") |
| 3360 | (license license:expat))) | 3374 | (license license:expat))) |
