Public bug reported:
mechanics-tools autopkgtest fails with:
Traceback (most recent call last):
File "/usr/bin/siconos_filter", line 234, in <module>
io_in.visititems(CopyVisitor(
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
time_filter = TimeFilter(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^
object_filter = lambda name,obj: not re_exclude(name),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
attr_filter = args.attr and AttrFilter(args.attr),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
).visitor)
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/group.py",
line 684, in visititems
return h5o.visit(self.id, proxy)
~~~~~~~~~^^^^^^^^^^^^^^^^
File "h5py/_debian_h5py_serial/_objects.pyx", line 54, in
h5py._debian_h5py_serial._objects.with_phil.wrapper
File "h5py/_debian_h5py_serial/_objects.pyx", line 55, in
h5py._debian_h5py_serial._objects.with_phil.wrapper
File "h5py/_debian_h5py_serial/h5o.pyx", line 420, in
h5py._debian_h5py_serial.h5o.visit
File "h5py/_debian_h5py_serial/h5o.pyx", line 367, in
h5py._debian_h5py_serial.h5o.cb_obj_simple
File "/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/group.py",
line 683, in proxy
return func(name, self[name])
File "/usr/bin/siconos_filter", line 118, in visitor
time_idx = np.in1d(obj[:,0], self.times).nonzero()[0]
^^^^^^^
File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 792, in
__getattr__
raise AttributeError(f"module {__name__!r} has no attribute {attr!r}")
AttributeError: module 'numpy' has no attribute 'in1d'. Did you mean: 'int16'?
[1;31mASSERT:[0munknown failure encountered running a test
numpy has deprecated 1n1d which is to be replaced by isin. Forwarding to
Debian. No need to forward upsteam, they are working on big changes
which remove the entire folder which has the file associated with this
bug. Those changes will take time, they are still on rc1.
Submitting a MR alongside for a fix.
** Affects: siconos (Ubuntu)
Importance: Undecided
Assignee: Ujjwal Sarswat (vmpyr)
Status: In Progress
** Tags: update-excuse
** Tags added: update-excuse
** Changed in: siconos (Ubuntu)
Status: New => In Progress
** Changed in: siconos (Ubuntu)
Assignee: (unassigned) => Ujjwal Sarswat (vmpyr)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158244
Title:
autopkgtest failure blocking numpy transition
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/siconos/+bug/2158244/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs