[Python-modules-team] Bug#950924: python-feather-format: FTBFS with pandas 1.0: test_boolean_object_nulls / test_sparse_dataframe fail

Drew Parsons dparsons at debian.org
Mon Aug 24 03:17:47 BST 2020


Source: python-feather-format
Followup-For: Bug #950924
X-Debbugs-Cc: "Rebecca N. Palmer" <rebecca_palmer at zoho.com>

Hi Rebecca, could you check the #950924 patch for python-feather-format?

I applied tha patch, but it's still failing against pandas 1.0.4+dfsg-1.

test_boolean_object_nulls still fails the same way, and
test_sparse_dataframe fails differently:

ERROR: test_sparse_dataframe (feather.tests.test_reader.TestFeatherReader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/projects/python/build/python-feather-format/feather/tests/test_reader.py", line 348, in test_sparse_dataframe
    self._check_pandas_roundtrip(df, expected)
  File "/home/projects/python/build/python-feather-format/feather/tests/test_reader.py", line 70, in _check_pandas_roundtrip
    feather.write_dataframe(df, path)
  File "/home/projects/python/build/python-feather-format/feather/api.py", line 62, in write_dataframe
    writer.write_array(name, col)
  File "feather/ext.pyx", line 99, in feather.ext.FeatherWriter.write_array
    self.write_primitive(name, col, mask)
  File "feather/ext.pyx", line 122, in feather.ext.FeatherWriter.write_primitive
    self.write_ndarray(col_values, mask, &values)
  File "feather/ext.pyx", line 149, in feather.ext.FeatherWriter.write_ndarray
    check_status(pandas_to_primitive(values, out))
  File "feather/ext.pyx", line 57, in feather.ext.check_status
    raise FeatherError(frombytes(c_message))
feather.ext.FeatherError: Invalid: only handle 1-dimensional arrays



More information about the Python-modules-team mailing list