Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1902286 - python-seaborn: FTBFS in Fedora rawhide
Summary: python-seaborn: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-seaborn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2020-11-27 15:40 UTC by Tomáš Hrnčiar
Modified: 2020-11-27 18:59 UTC (History)
2 users (show)

Fixed In Version: python-seaborn-0.11.0-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-27 18:59:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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