[Debian-med-packaging] Bug#917093: matplotlib2 breaks graphlan autopkgtest

Paul Gevers elbrus at debian.org
Sat Dec 22 14:17:57 GMT 2018


Source: matplotlib2, graphlan
Control: found -1 matplotlib2/2.2.3-4
Control: found -1 graphlan/1.1.3-1
Control: affects -1 matplotlib
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of matplotlib2 the autopkgtest of graphlan fails in
testing when that autopkgtest is run with the binary packages of
matplotlib2 from unstable. It passes when run with only packages from
testing. In tabular form:
                       pass            fail
matplotlib2            NA              2.2.3-4
matplotlib             from testing    NA
graphlan               from testing    1.1.3-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is contributing to the delay of the migration
of matplotlib2 (and matplotlib) to testing [1]. Due to the nature of
this issue, I filed this bug report against both packages. Can you
please investigate the situation and reassign the bug to the right
package? If needed, please change the bug's severity.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=matplotlib2

https://ci.debian.net/data/autopkgtest/testing/amd64/g/graphlan/1563802/log.gz

autopkgtest [04:48:34]: test run-unit-test: [-----------------------
Test script ./hmp_metahit/PIPELINE.sh requires export2graphlan which is
not available.
Running test script ./gut_microbiome/run.sh .
/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1005:
UserWarning: could not find rc file; returning defaults
  warnings.warn(message)
Traceback (most recent call last):
  File "/usr/bin/graphlan_annotate", line 26, in <module>
    from src.graphlan_lib import CircTree as CTree
  File "/usr/share/graphlan/src/graphlan_lib.py", line 27, in <module>
    from pylab import *
  File "/usr/lib/python2.7/dist-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib/python2.7/dist-packages/matplotlib/pylab.py", line 252,
in <module>
    from matplotlib import cbook, mlab, pyplot as plt
  File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 31,
in <module>
    import matplotlib.colorbar
  File "/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py", line
36, in <module>
    import matplotlib.contour as contour
  File "/usr/lib/python2.7/dist-packages/matplotlib/contour.py", line
20, in <module>
    import matplotlib.font_manager as font_manager
  File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py",
line 1472, in <module>
    _rebuild()
  File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py",
line 1453, in _rebuild
    fontManager = FontManager()
  File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py",
line 1057, in __init__
    paths = [os.path.join(rcParams['datapath'], 'fonts', 'ttf'),
  File "/usr/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
/usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1005:
UserWarning: could not find rc file; returning defaults
  warnings.warn(message)
Traceback (most recent call last):
  File "/usr/bin/graphlan", line 29, in <module>
    from src.graphlan_lib import CircTree as CTree
  File "/usr/share/graphlan/src/graphlan_lib.py", line 27, in <module>
    from pylab import *
  File "/usr/lib/python2.7/dist-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib/python2.7/dist-packages/matplotlib/pylab.py", line 252,
in <module>
    from matplotlib import cbook, mlab, pyplot as plt
  File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 31,
in <module>
    import matplotlib.colorbar
  File "/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py", line
36, in <module>
    import matplotlib.contour as contour
  File "/usr/lib/python2.7/dist-packages/matplotlib/contour.py", line
20, in <module>
    import matplotlib.font_manager as font_manager
  File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py",
line 1472, in <module>
    _rebuild()
  File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py",
line 1453, in _rebuild
    fontManager = FontManager()
  File "/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py",
line 1057, in __init__
    paths = [os.path.join(rcParams['datapath'], 'fonts', 'ttf'),
  File "/usr/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
autopkgtest [04:48:35]: test run-unit-test: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20181222/589069e6/attachment.sig>


More information about the Debian-med-packaging mailing list