Package: python3-feather-format
Version: 0.3.1+dfsg1-2
Control: block 931557 by -1

With python3-pandas 0.25, the build fails with these test failures:


======================================================================
ERROR: test_boolean_object_nulls (feather.tests.test_reader.TestFeatherReader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 248, in test_boolean_object_nulls
    self._check_pandas_roundtrip(df, null_counts=[1 * repeats])
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 70, in _check_pandas_roundtrip
    feather.write_dataframe(df, path)
File "/build/python-feather-format-0.3.1+dfsg1/feather/api.py", line 43, in write_dataframe
    inferred_type = pd.lib.infer_dtype(col)
File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 208, in __getattr__ raise AttributeError("module 'pandas' has no attribute '{}'".format(name))
AttributeError: module 'pandas' has no attribute 'lib'

======================================================================
ERROR: test_empty_strings (feather.tests.test_reader.TestFeatherReader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 271, in test_empty_strings
    self._check_pandas_roundtrip(df)
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 70, in _check_pandas_roundtrip
    feather.write_dataframe(df, path)
File "/build/python-feather-format-0.3.1+dfsg1/feather/api.py", line 43, in write_dataframe
    inferred_type = pd.lib.infer_dtype(col)
File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 208, in __getattr__ raise AttributeError("module 'pandas' has no attribute '{}'".format(name))
AttributeError: module 'pandas' has no attribute 'lib'

======================================================================
ERROR: test_nan_as_null (feather.tests.test_reader.TestFeatherReader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 277, in test_nan_as_null
    self._check_pandas_roundtrip(df)
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 70, in _check_pandas_roundtrip
    feather.write_dataframe(df, path)
File "/build/python-feather-format-0.3.1+dfsg1/feather/api.py", line 43, in write_dataframe
    inferred_type = pd.lib.infer_dtype(col)
File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 208, in __getattr__ raise AttributeError("module 'pandas' has no attribute '{}'".format(name))
AttributeError: module 'pandas' has no attribute 'lib'

======================================================================
ERROR: test_strings (feather.tests.test_reader.TestFeatherReader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 256, in test_strings
    self._assert_error_on_write(df, ValueError)
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 95, in _assert_error_on_write
    self.assertRaises(exc, f)
  File "/usr/lib/python3.7/unittest/case.py", line 756, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
    callable_obj(*args, **kwargs)
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 94, in f
    feather.write_dataframe(df, path)
File "/build/python-feather-format-0.3.1+dfsg1/feather/api.py", line 43, in write_dataframe
    inferred_type = pd.lib.infer_dtype(col)
File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 208, in __getattr__ raise AttributeError("module 'pandas' has no attribute '{}'".format(name))
AttributeError: module 'pandas' has no attribute 'lib'

======================================================================
ERROR: test_unsupported (feather.tests.test_reader.TestFeatherReader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 364, in test_unsupported
    self._assert_error_on_write(df, ValueError)
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 95, in _assert_error_on_write
    self.assertRaises(exc, f)
  File "/usr/lib/python3.7/unittest/case.py", line 756, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.7/unittest/case.py", line 178, in handle
    callable_obj(*args, **kwargs)
File "/build/python-feather-format-0.3.1+dfsg1/feather/tests/test_reader.py", line 94, in f
    feather.write_dataframe(df, path)
File "/build/python-feather-format-0.3.1+dfsg1/feather/api.py", line 61, 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: unhandled python type, index 0

----------------------------------------------------------------------
Ran 25 tests in 0.188s

FAILED (errors=5)

Reply via email to