Skip to content

Mayavi is getting old... #79

@ArneVoss

Description

@ArneVoss

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).

  1. Replace Mayavi, for example with pyvista.
  2. 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 moment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions