[Python-modules-team] Bug#955650: python-tablib: FTBFS: E NotImplementedError: DataFrame Format requires `pandas` to be installed. Try `pip install tablib[pandas]`.

Lucas Nussbaum lucas at debian.org
Fri Apr 3 20:55:04 BST 2020


Source: python-tablib
Version: 0.13.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200402 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest test_tablib.py"
> I: pybuild base:217: python3.7 -m pytest test_tablib.py
> ============================= test session starts ==============================
> platform linux -- Python 3.7.7, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 73 items
> 
> test_tablib.py ......................................................... [ 78%]
> ........F.......                                                         [100%]
> 
> =================================== FAILURES ===================================
> ______________________ TablibTestCase.test_unicode_append ______________________
> 
> self = <test_tablib.TablibTestCase testMethod=test_unicode_append>
> 
>     def test_unicode_append(self):
>         """Passes in a single unicode character and exports."""
>     
>         if is_py3:
>             new_row = ('å', 'é')
>         else:
>             exec ("new_row = (u'å', u'é')")
>     
>         data.append(new_row)
>     
>         data.json
>         data.yaml
>         data.csv
>         data.tsv
>         data.xls
>         data.xlsx
>         data.ods
>         data.html
>         data.jira
>         data.latex
> >       data.df
> 
> test_tablib.py:422: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> dset = <dataset object>, index = None
> 
>     def export_set(dset, index=None):
>         """Returns DataFrame representation of DataBook."""
>         if DataFrame is None:
>             raise NotImplementedError(
> >               'DataFrame Format requires `pandas` to be installed.'
>                 ' Try `pip install tablib[pandas]`.')
> E           NotImplementedError: DataFrame Format requires `pandas` to be installed. Try `pip install tablib[pandas]`.
> 
> tablib/formats/_df.py:40: NotImplementedError
> =============================== warnings summary ===============================
> tablib/core.py:156
>   /<<PKGBUILDDIR>>/tablib/core.py:156: DeprecationWarning: invalid escape sequence \*
>     """
> 
> tablib/core.py:444
>   /<<PKGBUILDDIR>>/tablib/core.py:444: DeprecationWarning: invalid escape sequence \*
>     """
> 
> tablib/core.py:463
>   /<<PKGBUILDDIR>>/tablib/core.py:463: DeprecationWarning: invalid escape sequence \*
>     """
> 
> tablib/core.py:1147
>   /<<PKGBUILDDIR>>/tablib/core.py:1147: DeprecationWarning: invalid escape sequence \*
>     """
> 
> tablib/core.py:1164
>   /<<PKGBUILDDIR>>/tablib/core.py:1164: DeprecationWarning: invalid escape sequence \*
>     """
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> =============== 1 failed, 72 passed, 5 warnings in 0.83 seconds ================
> E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: python3.7 -m pytest test_tablib.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.7 3.8" --system=custom "--test-args={interpreter} -m pytest test_tablib.py" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/04/02/python-tablib_0.13.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list