Bug 1902286

Summary: python-seaborn: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-seabornAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-seaborn
Whiteboard:
Fixed In Version: python-seaborn-0.11.0-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-27 18:59:35 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: 1868278, 1890881    

Description Tomáš Hrnčiar 2020-11-27 15:40:42 UTC
Description of problem:
Package python-seaborn fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
0.10.1-5.fc34

Steps to Reproduce:
koji build --scratch f34 python-seaborn-0.10.1-5.fc34.src.rpm

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

=================================== FAILURES ===================================
________________________ test_locator_to_legend_entries ________________________

    def test_locator_to_legend_entries():
    
        locator = mpl.ticker.MaxNLocator(nbins=3)
        limits = (0.09, 0.4)
        levels, str_levels = utils.locator_to_legend_entries(
            locator, limits, float
        )
        assert str_levels == ["0.00", "0.15", "0.30", "0.45"]
    
        limits = (0.8, 0.9)
        levels, str_levels = utils.locator_to_legend_entries(
            locator, limits, float
        )
        assert str_levels == ["0.80", "0.84", "0.88", "0.92"]
    
        limits = (1, 6)
        levels, str_levels = utils.locator_to_legend_entries(locator, limits, int)
        assert str_levels == ["0", "2", "4", "6"]
    
        locator = mpl.ticker.LogLocator(numticks=3)
        limits = (5, 1425)
        levels, str_levels = utils.locator_to_legend_entries(locator, limits, int)
        if LooseVersion(mpl.__version__) >= "3.1":
>           assert str_levels == ['0', '1', '100', '10000', '1e+06']
E           AssertionError: assert ['0', '1', '1... '10000', ...] == ['0', '1', '1...000', '1e+06']
E             At index 2 diff: '10' != '100'
E             Left contains 2 more items, first extra item: '10000'
E             Full diff:
E             - ['0', '1', '100', '10000', '1e+06']
E             ?                                 ^
E             + ['0', '1', '10', '100', '1000', '10000', '1e+05']
E             ?           ++++++       ++++++++               ^

seaborn/tests/test_utils.py:395: AssertionError

Comment 1 Miro Hrončok 2020-11-27 18:59:35 UTC
Thanks.