Bug 2210604 - python-animatplot: FTBFS in Fedora Rawhide
Summary: python-animatplot: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-animatplot
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: david08741
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-28 23:35 UTC by Orion Poplawski
Modified: 2023-07-31 13:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-31 13:55:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2023-05-28 23:35:06 UTC
Description of problem:
Package python-animatplot fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.4.1-16.fc38

Steps to Reproduce:
koji build --scratch f39 python-animatplot-0.4.1-16.fc38.src.rpm

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

Reproducible: Always




_____________________ TestLineBlock.test_ragged_list_input _____________________

self = <tests.test_blocks.TestLineBlock object at 0x7f7c1fd30290>

    def test_ragged_list_input(self):
        x_data = [np.array([1, 2, 3]), np.array([1, 2, 3, 4])]
        y_data = [np.array([5, 6, 7]), np.array([4, 2, 9, 10])]
    
        with pytest.raises(ValueError) as err:
            line_block = amp.blocks.Line(y_data)
>       assert "Must specify x data explicitly" in str(err)
E       assert 'Must specify x data explicitly' in "<ExceptionInfo ValueError('setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.') tblen=2>"
E        +  where "<ExceptionInfo ValueError('setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.') tblen=2>" = str(<ExceptionInfo ValueError('setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.') tblen=2>)

tests/test_blocks.py:146: AssertionError
___________________ TestLineBlock.test_bad_ragged_list_input ___________________

self = <tests.test_blocks.TestLineBlock object at 0x7f7c1fd30ad0>

    def test_bad_ragged_list_input(self):
>       x_data = np.array([np.array([1, 2, 3]), np.array([1, 2, 3, 4])])
E       ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.

tests/test_blocks.py:154: ValueError

Likely started with the change from numpy 1.23.5 to 1.24.1


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