<div dir="ltr">Dear Maintainer,<br><br>I am writing to confirm that we are experiencing this exact same issue over in Ubuntu during the mechanics-tools autopkgtests and local builds. <br><br>To help get this resolved, I have put together the necessary interim patches for both the `numpy.in1d` deprecation and the stricter dimensionality enforcement in NumPy 2.4. <br><br>As a quick note on the upstream context: there is no need to forward these patches upstream. They are currently working on a major architectural change (currently on rc1) that entirely removes the directories and files associated with these bugs. However, since those upstream changes will take time to land, these simple interim patches are necessary for Debian/Ubuntu to restore the builds and pass the test suites.<br><br>Here are the combined patches fixing the `siconos_filter` and `test_bouncing_ball.py` scripts:<br><br>--- a/io/swig/io/filter.py<br>+++ b/io/swig/io/filter.py<br>@@ -115,7 +115,7 @@<br>                          time_idx = self.time_idx<br>                      # Time-filter all but static objects<br>                      elif path != 'data/static':<br>-                         time_idx = np.in1d(obj[:,0], self.times).nonzero()[0]<br>+                         time_idx = np.isin(obj[:,0], self.times).nonzero()[0]<br> <br>                  # Additionally remove any lines referencing excluded objects<br>                  if self.excluded_objects is not None:<br><br>--- a/kernel/swig/tests/test_bouncing_ball.py<br>+++ b/kernel/swig/tests/test_bouncing_ball.py<br>@@ -237,13 +237,13 @@<br>      data[0, 1] = ball.q()[0]<br>      data[0, 2] = ball.velocity()[0]<br>      data[0, 3] = ball.p(1)[0]<br>-    data[0, 4] = inter.lambda_(1)<br>+    data[0, 4] = inter.lambda_(1)[0]<br> <br>      data_d[0, 0] = t0<br>      data_d[0, 1] = ball_d.q()[0]<br>      data_d[0, 2] = ball_d.velocity()[0]<br>      data_d[0, 3] = ball_d.p(1)[0]<br>-    data_d[0, 4] = inter_d.lambda_(1)<br>+    data_d[0, 4] = inter_d.lambda_(1)[0]<br> <br>      k = 1<br><br>These patches have been uploaded to Ubuntu already: <a href="https://code.launchpad.net/~vmpyr/ubuntu/+source/siconos/+git/siconos/+merge/507309">https://code.launchpad.net/~vmpyr/ubuntu/+source/siconos/+git/siconos/+merge/507309</a><div><br>Hope this helps speed up the fix!<br><br>Thanks,<br>vmpyr</div></div>