python312Packages.mayavi: fix build, pin to numpy_1 (#382970)
This commit is contained in:
commit
70ff571306
@ -4,13 +4,14 @@
|
||||
buildPythonPackage,
|
||||
envisage,
|
||||
fetchPypi,
|
||||
numpy,
|
||||
numpy_1,
|
||||
packaging,
|
||||
pyface,
|
||||
pygments,
|
||||
pyqt5,
|
||||
pythonOlder,
|
||||
pythonAtLeast,
|
||||
stdenv,
|
||||
traitsui,
|
||||
vtk,
|
||||
wrapQtAppsHook,
|
||||
@ -33,7 +34,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
apptools
|
||||
envisage
|
||||
numpy
|
||||
numpy_1
|
||||
packaging
|
||||
pyface
|
||||
pygments
|
||||
@ -59,5 +60,8 @@ buildPythonPackage rec {
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "mayavi2";
|
||||
# Fails during stripping with:
|
||||
# The file was not recognized as a valid object file
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
|
||||
@ -8070,7 +8070,9 @@ self: super: with self; {
|
||||
|
||||
mayavi = pkgs.libsForQt5.callPackage ../development/python-modules/mayavi {
|
||||
inherit buildPythonPackage pythonOlder pythonAtLeast;
|
||||
inherit (self) pyface pygments numpy packaging vtk traitsui envisage apptools pyqt5;
|
||||
# when next release contains numpy2 support unpin
|
||||
# https://github.com/enthought/mayavi/pull/1315
|
||||
inherit (self) pyface pygments numpy_1 packaging vtk traitsui envisage apptools pyqt5;
|
||||
};
|
||||
|
||||
mayim = callPackage ../development/python-modules/mayim { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user