Bug#1029073: veusz: autopkgtest failure with Numpy 1.24

Bas Couwenberg sebastic at xs4all.nl
Tue Jan 17 12:40:47 GMT 2023


Source: veusz
Version: 3.5.3-1
Severity: serious
Tags: upstream patch
Justification: autopkgtest failure
User: debian-python at lists.debian.org
Usertags: numpy1.24

Dear Maintainer,

The autopkgtest of your package fail with Numpy 1.24:

 Traceback (most recent call last):
   File "/tmp/autopkgtest-lxc.hcokq11r/downtmp/build.caK/src/tests/runselftest.py", line 320, in <module>
     runTests(
   File "/tmp/autopkgtest-lxc.hcokq11r/downtmp/build.caK/src/tests/runselftest.py", line 247, in runTests
     renderVszTest(infile, outfile, test_saves=test_saves,
   File "/tmp/autopkgtest-lxc.hcokq11r/downtmp/build.caK/src/tests/runselftest.py", line 185, in renderVszTest
     ifc.Export(outfile)
   File "/usr/lib/python3/dist-packages/veusz/document/commandinterface.py", line 810, in Export
     e.add(filename, pages)
   File "/usr/lib/python3/dist-packages/veusz/document/export.py", line 453, in add
     self.doc.paintTo(phelper, page)
   File "/usr/lib/python3/dist-packages/veusz/document/doc.py", line 369, in paintTo
     self.basewidget.draw(painthelper, page)
   File "/usr/lib/python3/dist-packages/veusz/widgets/root.py", line 144, in draw
     page.draw( posn, painthelper )
   File "/usr/lib/python3/dist-packages/veusz/widgets/page.py", line 336, in draw
     axisdependhelper.findAxisRanges()
   File "/usr/lib/python3/dist-packages/veusz/widgets/page.py", line 271, in findAxisRanges
     self.processDepends()
   File "/usr/lib/python3/dist-packages/veusz/widgets/page.py", line 258, in processDepends
     self.processWidgetDeps(dep)
   File "/usr/lib/python3/dist-packages/veusz/widgets/page.py", line 229, in processWidgetDeps
     self._updateRangeFromPlotter(widget, widgetd, widgetd_dep)
   File "/usr/lib/python3/dist-packages/veusz/widgets/page.py", line 217, in _updateRangeFromPlotter
     plotter.getRange(axis, plotterdep, self.ranges[axis])
   File "/usr/lib/python3/dist-packages/veusz/widgets/point.py", line 547, in getRange
     if data:
   File "/usr/lib/python3/dist-packages/veusz/datasets/base.py", line 153, in __len__
     return len(self.data)
   File "/usr/lib/python3/dist-packages/veusz/datasets/plugin.py", line 110, in <lambda>
     lambda self: self.getPluginData('data'),
   File "/usr/lib/python3/dist-packages/veusz/datasets/plugin.py", line 33, in getPluginData
     self.pluginmanager.update()
   File "/usr/lib/python3/dist-packages/veusz/plugins/datasetplugin.py", line 464, in update
     self.plugin.updateDatasets(self.fields, self.helper)
   File "/usr/lib/python3/dist-packages/veusz/plugins/datasetplugin.py", line 1033, in updateDatasets
     anyfinite = N.zeros(maxlength, dtype=N.bool)
   File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in __getattr__
     raise AttributeError("module {!r} has no attribute "
 AttributeError: module 'numpy' has no attribute 'bool'. Did you mean: 'bool_'?

https://ci.debian.net/data/autopkgtest/testing/amd64/v/veusz/30472445/log.gz

A patch for this has been committed in git:

 https://salsa.debian.org/science-team/veusz/-/commit/9ad531101e6fc08852759ce537a85126d7fe4905

Kind Regards,

Bas



More information about the debian-science-maintainers mailing list