Skip to content

Pandas failing on Debian big-endian builds #10425

Closed
@juricast

Description

@juricast

Hello,

Package pandas is failing to build from source on Debian big-endian builds with following message:

======================================================================
FAIL: test_to_records (pandas.tests.test_categorical.TestCategoricalAsBlock)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«BUILDDIR»/pandas-0.15.1+git125-ge463818/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_categorical.py", line 2393, in test_to_records
    tm.assert_almost_equal(result,expected)
  File "das/src/testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2745)
  File "das/src/testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1830)
  File "das/src/testing.pyx", line 143, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2618)
AssertionError: (0L, 'a') != (0L, 'a')

----------------------------------------------------------------------

https://buildd.debian.org/status/package.php?p=pandas&suite=sid

Looking at a upstream source and testing it on big-endian build I found that this problem stops occurring after commit 7eb5668

Difference between this commit and Debian version is big.
I am new to pandas and I did not had much luck in identifying minimal change set needed to patch Debian version of package to work with big-endian.

I have seen TST: better testing for test_where (GH8997) #9015 and that did not help much.

Could someone please take a look at this?
Help is welcomed.

Thank you!

Regards,
Jurica

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions