Describe the bug
Mayavi 4.8.3 is incompatible with numpy > 2.4.0
Mayavi tries to import Numpy's function 'in1d', which has been deprecated since NumPy 2.0 and is removed in favor of numpy.isin (https://numpy.org/doc/stable/release/2.4.0-notes.html)
Therefore, pytest fails with an AttributeError: module 'numpy' has no attribute 'in1d'
Current situation
Limit numpy to the last compatible version (numpy<2.4.0), see PR #80
Long-term solution
Although Mayavi was the best solution at the time I created the GUIs, it is now getting old and there is little to no development (https://github.com/enthought/mayavi/graphs/code-frequency).
Replace Mayavi, for example with pyvista.
New strategy: Keep Mayavi for now but switch to PySide6.
- At the same time, think about replacing pyface (also by Enthought) with pyside as QT binding. That is cleaner and should help to reduce problems caused with Qt during installation.
Implemented with PR #83.
Describe the bug
Mayavi 4.8.3 is incompatible with numpy > 2.4.0
Mayavi tries to import Numpy's function 'in1d', which has been deprecated since NumPy 2.0 and is removed in favor of numpy.isin (https://numpy.org/doc/stable/release/2.4.0-notes.html)
Therefore, pytest fails with an AttributeError: module 'numpy' has no attribute 'in1d'
Current situation
Limit numpy to the last compatible version (numpy<2.4.0), see PR #80
Long-term solution
Although Mayavi was the best solution at the time I created the GUIs, it is now getting old and there is little to no development (https://github.com/enthought/mayavi/graphs/code-frequency).
Replace Mayavi, for example with pyvista.New strategy: Keep Mayavi for now but switch to PySide6.
Implemented with PR #83.