[Python-modules-team] Bug#955655: python-peakutils: FTBFS: ModuleNotFoundError: No module named 'matplotlib'

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


Source: python-peakutils
Version: 1.3.3+ds-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):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.7 setup.py config 
> running config
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.7 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_peakutils/build/peakutils
> copying peakutils/plot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_peakutils/build/peakutils
> copying peakutils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_peakutils/build/peakutils
> copying peakutils/baseline.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_peakutils/build/peakutils
> copying peakutils/peak.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_peakutils/build/peakutils
> copying peakutils/prepare.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_peakutils/build/peakutils
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_peakutils/build/peakutils
> copying peakutils/plot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_peakutils/build/peakutils
> copying peakutils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_peakutils/build/peakutils
> copying peakutils/baseline.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_peakutils/build/peakutils
> copying peakutils/peak.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_peakutils/build/peakutils
> copying peakutils/prepare.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_peakutils/build/peakutils
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: python3.7 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
> running egg_info
> creating PeakUtils.egg-info
> writing PeakUtils.egg-info/PKG-INFO
> writing dependency_links to PeakUtils.egg-info/dependency_links.txt
> writing requirements to PeakUtils.egg-info/requires.txt
> writing top-level names to PeakUtils.egg-info/top_level.txt
> writing manifest file 'PeakUtils.egg-info/SOURCES.txt'
> reading manifest file 'PeakUtils.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'docs/_*'
> writing manifest file 'PeakUtils.egg-info/SOURCES.txt'
> running build_ext
> peakutils_test (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: peakutils_test (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: peakutils_test
> Traceback (most recent call last):
>   File "/usr/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
>     module = __import__(module_name)
>   File "/<<PKGBUILDDIR>>/tests/peakutils_test.py", line 10, in <module>
>     import pandas as pd
>   File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 182, in <module>
>     import pandas.testing
>   File "/usr/lib/python3/dist-packages/pandas/testing.py", line 7, in <module>
>     from pandas.util.testing import (
>   File "/usr/lib/python3/dist-packages/pandas/util/testing.py", line 18, in <module>
>     from matplotlib.cbook import MatplotlibDeprecationWarning
> ModuleNotFoundError: No module named 'matplotlib'
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: python3.7 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.7 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/04/02/python-peakutils_1.3.3+ds-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