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 2207628 - python-pandas: FTBFS in Fedora Rawhide
Summary: python-pandas: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pandas
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F39FTBFS PYTHON3.12
TreeView+ depends on / blocked
 
Reported: 2023-05-16 11:37 UTC by Tomáš Hrnčiar
Modified: 2023-05-17 15:39 UTC (History)
10 users (show)

Fixed In Version: python-pandas-1.5.3-4.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-17 15:39:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2023-05-16 11:37:44 UTC
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

Comment 1 Ben Beasley 2023-05-16 12:46:41 UTC
=================================== 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

Comment 2 Ben Beasley 2023-05-16 13:14:34 UTC
I am testing a backported patch for this. PR to follow if all goes well.

Comment 4 Fedora Update System 2023-05-17 15:37:39 UTC
FEDORA-2023-976656be6f has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-976656be6f

Comment 5 Fedora Update System 2023-05-17 15:39:05 UTC
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.


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