Bug 1981679 - python-pingouin: FTBFS in Fedora rawhide
Summary: python-pingouin: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pingouin
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.10 F35FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-07-13 06:46 UTC by Tomáš Hrnčiar
Modified: 2021-07-23 10:18 UTC (History)
3 users (show)

Fixed In Version: python-pingouin-0.3.12-3.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-23 10:18:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-07-13 06:46:26 UTC
Description of problem:
Package python-pingouin fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
0.3.12-1.fc35

Steps to Reproduce:
koji build --scratch f35 python-pingouin-0.3.12-1.fc35.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-pingouin

Comment 1 Ben Beasley 2021-07-20 18:10:32 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

Comment 2 Ben Beasley 2021-07-20 18:26:28 UTC
Fixed upstream in https://github.com/raphaelvallat/pingouin/commit/098db4b8453a93958bd179b2fc47e3a44716721f (along with other unrelated changes). Working on a backport; PR to follow.

Comment 4 Fedora Update System 2021-07-23 10:17:18 UTC
FEDORA-2021-ee7ac58292 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ee7ac58292

Comment 5 Fedora Update System 2021-07-23 10:18:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.