Bug 1981679
| Summary: | python-pingouin: FTBFS in Fedora rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
| Component: | python-pingouin | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, neuro-sig, sanjay.ankur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/package/python-pingouin | ||
| Whiteboard: | |||
| Fixed In Version: | python-pingouin-0.3.12-3.fc35 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-23 10:18:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1890881, 1927309 | ||
|
Description
Tomáš Hrnčiar
2021-07-13 06:46:26 UTC
> =================================== FAILURES ===================================
> _____________________ TestNonParametric.test_harrelldavis ______________________
>
> self = <pingouin.tests.test_nonparametric.TestNonParametric testMethod=test_harrelldavis>
>
> def test_harrelldavis(self):
> """Test Harrel-Davis estimation of :math:`q^{th}` quantile.
> """
> a = [77, 87, 88, 114, 151, 210, 219, 246, 253, 262, 296, 299,
> 306, 376, 428, 515, 666, 1310, 2611]
> > assert harrelldavis(a, quantile=0.5) == 271.72120054908913
> E AssertionError: assert 271.7212005490892 == 271.72120054908913
> E + where 271.7212005490892 = harrelldavis([77, 87, 88, 114, 151, 210, ...], quantile=0.5)
>
> a = [77, 87, 88, 114, 151, 210, ...]
> self = <pingouin.tests.test_nonparametric.TestNonParametric testMethod=test_harrelldavis>
>
> pingouin/tests/test_nonparametric.py:180: AssertionError
Fixed upstream in https://github.com/raphaelvallat/pingouin/commit/098db4b8453a93958bd179b2fc47e3a44716721f (along with other unrelated changes). Working on a backport; PR to follow. FEDORA-2021-ee7ac58292 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ee7ac58292 FEDORA-2021-ee7ac58292 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. |