Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890547 - dev-python/pandas-1.5.2 - fails 41 tests on ppc
Summary: dev-python/pandas-1.5.2 - fails 41 tests on ppc
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-01-11 22:16 UTC by ernsteiswuerfel
Modified: 2023-08-03 18:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_890547.txt,6.43 KB, text/plain)
2023-01-11 22:16 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-01-11 22:16:36 UTC
Created attachment 848277 [details]
emerge --info

Can't attach the build log as even .xz compressed it's 2.6 MiB large.

[...]
FAILED pandas/tests/arrays/floating/test_arithmetic.py::test_error_invalid_values[__radd__-Float32Dtype] - AssertionError: Regex pattern did not match.
FAILED pandas/tests/arrays/floating/test_arithmetic.py::test_error_invalid_values[__radd__-Float64Dtype] - AssertionError: Regex pattern did not match.
FAILED pandas/tests/frame/methods/test_to_records.py::TestDataFrameToRecords::test_to_records_index_name - AssertionError: numpy array are different
FAILED pandas/tests/frame/methods/test_to_records.py::TestDataFrameToRecords::test_to_records_index_dtype - AssertionError: numpy array are different
FAILED pandas/tests/io/test_stata.py::TestStata::test_writer_117 - KeyError: '4294967308'
FAILED pandas/tests/io/test_stata.py::TestStata::test_convert_strl_name_swap - KeyError: '4294967298'
FAILED pandas/tests/io/test_stata.py::TestStata::test_strl_latin1 - AssertionError: assert 7 == (0 - 1)
FAILED pandas/tests/io/test_stata.py::TestStata::test_utf8_writer[118] - KeyError: '65540'
FAILED pandas/tests/io/test_stata.py::TestStata::test_utf8_writer[119] - KeyError: '16777220'
FAILED pandas/tests/io/test_stata.py::TestStata::test_utf8_writer[None] - KeyError: '65540'
FAILED pandas/tests/io/parser/test_c_parser_only.py::test_float_precision_options[c_high] - assert 243.164 == 243.16400000000002
FAILED pandas/tests/io/parser/test_c_parser_only.py::test_float_precision_options[c_low] - assert 243.164 == 243.16400000000002
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[trade_time] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[date] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[datetime] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[sold_at] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[modified] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[timestamp] - AssertionError: numpy array are different
FAILED pandas/tests/io/parser/test_skiprows.py::test_skip_rows_callable[c_high-kwargs0-expected0] - pandas.errors.EmptyDataError: No columns to parse from file
FAILED pandas/tests/io/parser/test_skiprows.py::test_skip_rows_callable[c_high-kwargs1-expected1] - AssertionError: DataFrame are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_convert_dates_infer[timestamps] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_date_unit[s] - AssertionError: Attributes of DataFrame.iloc[:, 4] (column name="date") are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_date_unit[ms] - AssertionError: Attributes of DataFrame.iloc[:, 4] (column name="date") are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_date_unit[us] - AssertionError: Attributes of DataFrame.iloc[:, 4] (column name="date") are different
FAILED pandas/tests/io/parser/test_skiprows.py::test_skip_rows_callable[c_low-kwargs0-expected0] - pandas.errors.EmptyDataError: No columns to parse from file
FAILED pandas/tests/io/parser/test_skiprows.py::test_skip_rows_callable[c_low-kwargs1-expected1] - AssertionError: DataFrame are different
FAILED pandas/tests/io/parser/test_skiprows.py::test_skip_rows_callable_not_in[c_high] - pandas.errors.EmptyDataError: No columns to parse from file
FAILED pandas/tests/io/parser/test_skiprows.py::test_skip_rows_callable_not_in[c_low] - pandas.errors.EmptyDataError: No columns to parse from file
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_to_json_from_json_columns_dtypes[split] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_to_json_from_json_columns_dtypes[records] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_to_json_from_json_columns_dtypes[index] - AssertionError: numpy array are different
FAILED pandas/tests/io/json/test_pandas.py::TestPandasContainer::test_to_json_from_json_columns_dtypes[columns] - AssertionError: numpy array are different
FAILED pandas/tests/scalar/timedelta/test_arithmetic.py::TestTimedeltaMultiplicationDivision::test_td_mul_td64_ndarray_invalid - AssertionError: Regex pattern did not match.
FAILED pandas/tests/tseries/offsets/test_business_day.py::TestBusinessDay::test_apply_out_of_range[tzlocal()] - OverflowError: timestamp out of range for platform time_t
FAILED pandas/tests/tseries/offsets/test_business_hour.py::TestBusinessHour::test_apply_out_of_range[tzlocal()] - OverflowError: timestamp out of range for platform time_t
FAILED pandas/tests/tools/test_to_datetime.py::TestToDatetimeUnit::test_to_datetime_unit_with_nulls[nan] - pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: cannot convert input with unit 's'
FAILED pandas/tests/tseries/offsets/test_custom_business_day.py::TestBusinessDay::test_apply_out_of_range[tzlocal()] - OverflowError: timestamp out of range for platform time_t
FAILED pandas/tests/tseries/offsets/test_custom_business_day.py::TestCustomBusinessDay::test_apply_out_of_range[tzlocal()] - OverflowError: timestamp out of range for platform time_t
FAILED pandas/tests/tseries/offsets/test_custom_business_hour.py::TestCustomBusinessHour::test_apply_out_of_range[tzlocal()] - OverflowError: timestamp out of range for platform time_t
FAILED pandas/tests/tseries/offsets/test_week.py::TestWeek::test_apply_out_of_range[tzlocal()] - OverflowError: timestamp out of range for platform time_t
FAILED pandas/tests/scalar/timestamp/test_timestamp.py::TestTimestampProperties::test_is_leap_year[tzlocal()] - OverflowError: timestamp out of range for platform time_t
======= 41 failed, 165892 passed, 10953 skipped, 1396 xfailed, 11 xpassed, 3574 warnings in 755.80s (0:12:35) ========
 * pytest failed with python3.9
 * ERROR: dev-python/pandas-1.5.2::gentoo failed (test phase):
 *   Tests failed with python3.9
 *
Comment 1 Larry the Git Cow gentoo-dev 2023-08-03 18:16:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799c5607b239b134f2e836b48db945186d7cc007

commit 799c5607b239b134f2e836b48db945186d7cc007
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-03 18:15:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-03 18:15:57 +0000

    dev-python/pandas: skip tests which need 64-bit time_t
    
    Not splitting for now as we need a proper helper for this (we don't even have
    one for bitness).
    
    Bug: https://bugs.gentoo.org/890547
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pandas/pandas-2.0.3.ebuild | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)