Your message dated Mon, 16 Apr 2018 11:38:16 +1000
with message-id <4609645.1RKcBvIM0S@simurgh>
and subject line Re: Bug#895771: python-bumps: autopkgtest fails since 
matplotlib 2.2.2-1 renamed NavigationToolbar2Wx to NavigationToolbar2WxAgg
has caused the Debian Bug report #895771,
regarding python-bumps: autopkgtest fails since matplotlib 2.2.2-1 renamed 
NavigationToolbar2Wx to NavigationToolbar2WxAgg
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
895771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895771
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-bumps
Version: 0.7.6-3
Severity: normal
User: ci-t...@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

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 0.7.6-4

Already fixed and tested on ci.d.n:

python-bumps (0.7.6-4) unstable; urgency=medium 

 * Update to new matplotlib API. 
 * Add missing dependencies to packages. 

-- Stuart Prescott <stu...@debian.org>  Mon, 16 Apr 2018 00:28:33 +1000 


> 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.

Indeed, this would be RC since it would cause it to FTBFS as the tests would 
also fail at build time.

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

There's a slight difference between the two (inheritance plus one extra 
function) but I think you are right and that's exactly what I uploaded and the 
PR I have sent upstream

        https://github.com/bumps/bumps/pull/15

cheers
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/         stu...@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to