Bug#895771: python-bumps: autopkgtest fails since matplotlib 2.2.2-1 renamed NavigationToolbar2Wx to NavigationToolbar2WxAgg

Paul Gevers elbrus at debian.org
Sun Apr 15 20:55:50 BST 2018


Source: python-bumps
Version: 0.7.6-3
Severity: normal
User: ci-team at tracker.debian.org
Usertags: progression

Since the upload of matplotlib version 2.2.2-1, apparently the module
NavigationToolbar2Wx from matplotlib.backends.backend_wxagg isn't there
anymore. As I can only assume (please reassign this bug to matplotlib if
I am wrong), this was done intentionally¹, I am filing this bug against
python-bumps: your autopkgtest² fails since than with the following error:

======================================================================
ERROR: Failure: ImportError (cannot import name NavigationToolbar2Wx)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python2.7/dist-packages/bumps/gui/data_view.py", line
10, in <module>
    from matplotlib.backends.backend_wxagg import NavigationToolbar2Wx
as Toolbar
ImportError: cannot import name NavigationToolbar2Wx

It looks like this bug may be of higher severity if the package stops
working due to this, but as I lack the insight to this package, I file
it as normal. Please investigate the situation.

Paul

¹ It looks like instead of NavigationToolbar2Wx it is now available as
NavigationToolbar2WxAgg; see
https://salsa.debian.org/python-team/modules/matplotlib/blob/35f7db8c0db60ed8e3daf2e6ba627a5a4db49cd6/lib/matplotlib/backends/backend_wxagg.py
² https://ci.debian.net/packages/p/python-bumps

-------------- 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-science-maintainers/attachments/20180415/0e22e349/attachment.sig>


More information about the debian-science-maintainers mailing list