Source: topplot
Version: 0.1.8+repack-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-matplotlib35

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64, using matplotlib 3.5 currently in experimental. This version
will soon be uploaded to unstable.

If you have questions about this, please contact Sandro Tosi
<mo...@debian.org>.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> xvfb-run -a dh_auto_test
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_topplot/build; 
> python3.9 -m unittest discover -v 
> topplot (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: topplot (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: topplot
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_topplot/build/topplot/__init__.py", 
> line 4, in <module>
>     from .config import Config
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_topplot/build/topplot/config.py", 
> line 8, in <module>
>     from .grapher import rcParams
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_topplot/build/topplot/grapher.py", 
> line 35, in <module>
>     import matplotlib.pyplot as plt
>   File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 2226, in 
> <module>
>     switch_backend(rcParams["backend"])
>   File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 267, in 
> switch_backend
>     class backend_mod(matplotlib.backend_bases._Backend):
>   File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 268, in 
> backend_mod
>     locals().update(vars(importlib.import_module(backend_name)))
>   File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", 
> line 1, in <module>
>     from . import _backend_tk
>   File "/usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py", 
> line 14, in <module>
>     from PIL import Image, ImageTk
> ImportError: cannot import name 'ImageTk' from 'PIL' 
> (/usr/lib/python3/dist-packages/PIL/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_topplot/build; python3.9 -m unittest 
> discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/http://qa-logs.debian.net/2021/11/numpy-matplotlib/matplotlib-exp/topplot_0.1.8+repack-2_unstable_matplotlib-exp.log

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to