Bug 1981679

Summary: python-pingouin: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-pingouinAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 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
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.