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/
Created attachment 2072057 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2072058 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2072059 [details] state.log
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
It looks like the main problem here is https://github.com/pandas-dev/pandas/issues/60589. The upstream discussion died down without a resolution.
*** Bug 2329167 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
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