-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Known problemA known problem without any easy / straight forward / obvious solution, at least at the momentA known problem without any easy / straight forward / obvious solution, at least at the moment
Description
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.
- At the same time, think about replacing pyface (also by Enthought) with pyside as QT binding.
Metadata
Metadata
Assignees
Labels
Known problemA known problem without any easy / straight forward / obvious solution, at least at the momentA known problem without any easy / straight forward / obvious solution, at least at the moment