Source: python-bayespy Version: 0.5.18-3 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_bayespy/build; > python3.9 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>> > collected 124 items / 1 error / 123 selected > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.9_bayespy/build/bayespy/tests/test_plot.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/tests/test_plot.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > bayespy/tests/__init__.py:8: in <module> > import bayespy.plot as bpplt > bayespy/plot.py:60: in <module> > import matplotlib.pyplot as plt > /usr/lib/python3/dist-packages/matplotlib/pyplot.py:2226: in <module> > switch_backend(rcParams["backend"]) > /usr/lib/python3/dist-packages/matplotlib/pyplot.py:267: in switch_backend > class backend_mod(matplotlib.backend_bases._Backend): > /usr/lib/python3/dist-packages/matplotlib/pyplot.py:268: in backend_mod > locals().update(vars(importlib.import_module(backend_name))) > /usr/lib/python3.9/importlib/__init__.py:127: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > /usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py:1: in > <module> > from . import _backend_tk > /usr/lib/python3/dist-packages/matplotlib/backends/_backend_tk.py:14: in > <module> > from PIL import Image, ImageTk > E ImportError: cannot import name 'ImageTk' from 'PIL' > (/usr/lib/python3/dist-packages/PIL/__init__.py) > =============================== warnings summary > =============================== > bayespy/utils/misc.py:272 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/utils/misc.py:272: > DeprecationWarning: invalid escape sequence \c > """ > > bayespy/inference/vmp/nodes/binomial.py:102 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/binomial.py:102: > DeprecationWarning: invalid escape sequence \p > """ > > bayespy/inference/vmp/nodes/binomial.py:111 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/binomial.py:111: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/nodes/beta.py:74 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/beta.py:74: > DeprecationWarning: invalid escape sequence \p > """ > > bayespy/inference/vmp/nodes/beta.py:81 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/beta.py:81: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/nodes/poisson.py:84 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/poisson.py:84: > DeprecationWarning: invalid escape sequence \p > """ > > bayespy/inference/vmp/nodes/poisson.py:94 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/poisson.py:94: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/nodes/poisson.py:132 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/poisson.py:132: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/nodes/wishart.py:119 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/wishart.py:119: > DeprecationWarning: invalid escape sequence \L > """ > > bayespy/inference/vmp/nodes/categorical_markov_chain.py:110 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/categorical_markov_chain.py:110: > DeprecationWarning: invalid escape sequence \p > """ > > bayespy/inference/vmp/nodes/categorical_markov_chain.py:120 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/categorical_markov_chain.py:120: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/nodes/mixture.py:247 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/mixture.py:247: > DeprecationWarning: invalid escape sequence \p > """ > > bayespy/inference/vmp/nodes/mixture.py:254 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/mixture.py:254: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/nodes/mixture.py:488 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/mixture.py:488: > DeprecationWarning: invalid escape sequence \i > """ Approximates the posterior predictive pdf \int p(x|parents) > > bayespy/inference/vmp/nodes/add.py:117 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/nodes/add.py:117: > DeprecationWarning: invalid escape sequence \s > """ > > <unknown>:272: 18 warnings > <unknown>:272: DeprecationWarning: invalid escape sequence \c > > bayespy/inference/vmp/transformations.py:62 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/transformations.py:62: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/transformations.py:257 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/transformations.py:257: > DeprecationWarning: invalid escape sequence \m > """ > > bayespy/inference/vmp/transformations.py:1299 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build/bayespy/inference/vmp/transformations.py:1299: > DeprecationWarning: invalid escape sequence \m > """ > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > =========================== short test summary info > ============================ > ERROR bayespy/tests/test_plot.py > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > ======================== 36 warnings, 1 error in 1.75s > ========================= > E: pybuild pybuild:354: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bayespy/build; python3.9 -m pytest > dh_auto_test: error: pybuild --test --test-pytest -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/python-bayespy_0.5.18-3_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.