Description of problem: Package python-pandas fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 1.5.3-3.fc39 Steps to Reproduce: koji build --scratch f39 python-pandas-1.5.3-3.fc39.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-pandas
=================================== FAILURES =================================== __________________________ test_arrow_array[pyarrow] ___________________________ [gw0] linux -- Python 3.11.3 /usr/bin/python3 dtype = string[pyarrow] @td.skip_if_no("pyarrow") def test_arrow_array(dtype): # protocol added in 0.15.0 import pyarrow as pa data = pd.array(["a", "b", "c"], dtype=dtype) arr = pa.array(data) expected = pa.array(list(data), type=pa.string(), from_pandas=True) if dtype.storage == "pyarrow": expected = pa.chunked_array(expected) > assert arr.equals(expected) E TypeError: Argument 'other' has incorrect type (expected pyarrow.lib.Array, got pyarrow.lib.ChunkedArray) ../../../BUILDROOT/python-pandas-1.5.3-3.fc39.x86_64/usr/lib64/python3.11/site-packages/pandas/tests/arrays/string_/test_string.py:449: TypeError
I am testing a backported patch for this. PR to follow if all goes well.
https://src.fedoraproject.org/rpms/python-pandas/pull-request/19
FEDORA-2023-976656be6f has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-976656be6f
FEDORA-2023-976656be6f has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.