diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-07 14:45:53 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:22:12 +0100 |
| commit | 26436fba552cc3c4154c8105d0df21a3b9f4b70a (patch) | |
| tree | 7a5bcd9a94a44276ff878873c2446ecbff27e4bb /gnu/packages | |
| parent | f2b9ff86a87946f05a028785e2c0d5b41f5a3b77 (diff) | |
gnu: python-pingouin: Fix tests.
* gnu/packages/python-science.scm (python-pingouin):
[arguments] <test-flags>: Rework skipped tests.
<phases>: Add 'relax-requirements.
[native-inputs]: Remove python-pytest-cov; add python-setuptools.
Change-Id: If45e91fabbd479819731041c09dd6e1e561774d6
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-science.scm | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c1e6244fbf4..b48da6f72f2 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -5150,10 +5150,10 @@ of Pandas (version "0.5.5") (source (origin - (method git-fetch) ; no tests in PyPI tarball + (method git-fetch) (uri (git-reference - (url "https://github.com/raphaelvallat/pingouin") - (commit (string-append "v" version)))) + (url "https://github.com/raphaelvallat/pingouin") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 @@ -5161,13 +5161,21 @@ of Pandas (build-system pyproject-build-system) (arguments (list - ;; _flapack.error: (liwork>=max(1,10*n)||liwork==-1) - ;; failed for 10th keyword liwork: dsyevr:liwork=1 - #:test-flags #~(list "-k" (string-append - "not test_box_m" - " and not test_linear_regression")))) + ;; tests: 85 passed, 3 deselected, 43 warnings + #:test-flags + ;; AssertionError: Arrays are not equal + #~(list "--deselect=tests/test_pairwise.py::TestPairwise::test_pairwise_tests" + ;; AssertionError: assert False + "--deselect=tests/test_power.py::TestPower::test_power_ttest") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-pytest-config + (lambda _ + (substitute* "pyproject.toml" + ((" --cov") ""))))))) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-pytest + python-setuptools)) (propagated-inputs (list python-matplotlib python-mpmath |
