Bug#904709: python-cobra ftbfs (test failures)

Andreas Tille tille at debian.org
Fri Jul 27 23:37:35 BST 2018


On Fri, Jul 27, 2018 at 06:44:09PM +0200, Graham Inggs wrote:
> Hi Andreas
> 
> On 27 July 2018 at 10:01, Andreas Tille <andreas at an3as.eu> wrote:
> > I think the problem is here:
> >
> > ...
> > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:412: in _importconftest
> >     raise ConftestImportFailure(conftestpath, sys.exc_info())
> > E   _pytest.config.ConftestImportFailure: ImportError("C extension: No module named 'pandas._libs.tslib' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.")
> > E     File "/build/python-cobra-0.11.3/.pybuild/cpython3_3.7_cobra/build/cobra/__init__.py", line 11, in <module>
> > ...
> 
> Where do you see this log?

I did a local build and assumed that this can be reproduced.
 
> The log on the buildd [1] shows several errors like:
> 
> >       raise NotImplementedError("Direct modification to dok_matrix element "
>                                   "is not allowed.")
> E       NotImplementedError: Direct modification to dok_matrix element
> is not allowed.

Lumin just wrote that Yaroslav is working on next Pandas version that
will be compatible with Python 3.7 and thus we should probably delay
this issue and wait until this package is ready.

Kind regards

       Andreas.
 
> [1] https://buildd.debian.org/status/fetch.php?pkg=python-cobra&arch=amd64&ver=0.5.9-1%2Bb2&stamp=1530708810&raw=0

-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list