Bug 2341179 - python-pandas: FTBFS in Fedora rawhide/f42
Summary: python-pandas: FTBFS in Fedora rawhide/f42
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pandas
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2329167 (view as bug list)
Depends On: 2339845 2389080
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 21:36 UTC by Fedora Release Engineering
Modified: 2025-08-18 03:13 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 21:36 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 21:36 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2025-01-22 21:36 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pandas-dev pandas issues 60589 0 None open BUG: Test failures with 2.2.3 on Fedora Rawhide 2025-01-29 16:38:14 UTC

Description Fedora Release Engineering 2025-01-22 21:36:50 UTC
python-pandas failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128086171


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix python-pandas at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-pandas will be orphaned. Before branching of Fedora 43,
python-pandas will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 21:36:54 UTC
Created attachment 2072057 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 21:36:56 UTC
Created attachment 2072058 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 21:36:57 UTC
Created attachment 2072059 [details]
state.log

Comment 4 Ben Beasley 2025-01-29 12:16:42 UTC
It looks like there were 45 test failures.

The first one was:

____________________ test_array_inference[data7-expected7] _____________________
[gw0] linux -- Python 3.13.1 /usr/bin/python3
data = [datetime.datetime(2000, 1, 1, 0, 0, tzinfo=<DstTzInfo 'CET' LMT+0:18:00 STD>), datetime.dateti
expected = <DatetimeArray>
['2000-01-01 00:00:00+01:00', '2001-01-01 00:00:00+01:00']
Length: 2, dtype: datetime64[ns, CET]
    @pytest.mark.parametrize(
[…]
    )
    def test_array_inference(data, expected):
        result = pd.array(data)
>       tm.assert_equal(result, expected)
../../BUILDROOT/usr/lib64/python3.13/site-packages/pandas/tests/arrays/test_array.py:377:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
left = array(['1999-12-31T23:42:00.000000000', '2000-12-31T23:42:00.000000000'],
      dtype='datetime64[ns]')
right = array(['1999-12-31T23:00:00.000000000', '2000-12-31T23:00:00.000000000'],
      dtype='datetime64[ns]')
err_msg = None
    def _raise(left, right, err_msg) -> NoReturn:
[…]
            msg = f"{obj} values are different ({np.round(diff, 5)} %)"
>           raise_assert_detail(obj, msg, left, right, index_values=index_values)
E           AssertionError: DatetimeArray._ndarray are different
E
E           DatetimeArray._ndarray values are different (100.0 %)
E           [left]:  [1999-12-31T23:42:00.000000000, 2000-12-31T23:42:00.000000000]
E           [right]: [1999-12-31T23:00:00.000000000, 2000-12-31T23:00:00.000000000]
../../BUILDROOT/usr/lib64/python3.13/site-packages/pandas/_testing/asserters.py:684: AssertionError

Comment 5 Ben Beasley 2025-01-29 16:38:14 UTC
It looks like the main problem here is https://github.com/pandas-dev/pandas/issues/60589. The upstream discussion died down without a resolution.

Comment 6 Orion Poplawski 2025-02-19 03:48:06 UTC
*** Bug 2329167 has been marked as a duplicate of this bug. ***

Comment 7 Aoife Moloney 2025-02-26 13:43:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 8 Elliott Sales de Andrade 2025-08-18 03:13:13 UTC
I made a light copy of this bug to assign to tzdata, as it seems like this bug has to do with that: https://github.com/pandas-dev/pandas/issues/60589#issuecomment-3094467374


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