❦  4 août 2018 07:33 +0200, Matthias Klose <d...@debian.org>:

> Package: src:graphite-api
> Version: 1.1.3-3
> Severity: serious
> Tags: sid buster
>
> missing build dependencies?
>
> running build_ext
> tests (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: tests (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
>     module = __import__(module_name)
>   File "/<<PKGBUILDDIR>>/tests/__init__.py", line 15, in <module>
>     from graphite_api.app import app
>   File "/<<PKGBUILDDIR>>/graphite_api/app.py", line 24, in <module>
>     from .render.glyph import GraphTypes
>   File "/<<PKGBUILDDIR>>/graphite_api/render/glyph.py", line 15, in <module>
>     import cairocffi as cairo
>   File "/usr/lib/python3/dist-packages/cairocffi/__init__.py", line 18, in 
> <module>
>     from ._ffi import ffi
>   File "/usr/lib/python3/dist-packages/cairocffi/_ffi.py", line 3, in <module>
>     from xcffib._ffi import ffi as _ffi0
> ModuleNotFoundError: No module named 'xcffib'

I don't quite understand how the cairocffi can be imported interactively
without xcffib being installed (it's only a recommends) but not during
tests. I'll just add the appropriate build dependency to ensure it's
here.
-- 
It were not best that we should all think alike; it is difference of opinion
that makes horse-races.
                -- Mark Twain, "Pudd'nhead Wilson's Calendar"

Attachment: signature.asc
Description: PGP signature

Reply via email to