Your message dated Mon, 15 Feb 2016 08:28:30 -0500
with message-id <20160215132830.gh7...@onerussian.com>
and subject line was included/fixed upstream
has caused the Debian Bug report #790024,
regarding package pandas FTBFS on big-endian
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
790024: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790024
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pandas
Version: 0.15.1+git125-ge463818-1
Severity: serious
Tags: sid + patch
User: debian-m...@lists.debian.org
Usertags: mips-patch

Hello,

Package  FTBFS on big-endian builds:
https://buildd.debian.org/status/package.php?p=pandas&suite=sid

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')

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

With the patch attached package builds successfully on both MIPS big-endian and 
little-endian.
Patch is changing test_categorical to work with native endian instead of 
little-endian.

Same patch is available upstream:
https://github.com/pydata/pandas/pull/10438

Could you please consider including this patch?

Thank you!

Regards,
Jurica
--- pandas-0.15.1+git125-ge463818.orig/pandas/tests/test_categorical.py
+++ pandas-0.15.1+git125-ge463818/pandas/tests/test_categorical.py
@@ -2389,7 +2389,7 @@ class TestCategoricalAsBlock(tm.TestCase
         # this coerces
         result = df.to_records()
         expected = np.rec.array([(0, 'a'), (1, 'b'), (2, 'c')],
-                                dtype=[('index', '<i8'), ('0', 'O')])
+                                dtype=[('index', '=i8'), ('0', 'O')])
         tm.assert_almost_equal(result,expected)
 
     def test_numeric_like_ops(self):

--- End Message ---
--- Begin Message ---
Version: 0.17.0

This particular issue was addressed by upstream.  There are other
failures now on BEs but not this one

Cheers,
-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        

--- End Message ---

Reply via email to