Skip to content

Commit 479e214

Browse files
authored
Merge pull request #310111 from doronbehar/pkg/mayavi
Revert "python3Packages.mayavi: disable for python 3.11"
2 parents 2464c25 + 58be3dc commit 479e214

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

pkgs/development/python-modules/mayavi/default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818

1919
buildPythonPackage rec {
2020
pname = "mayavi";
21+
# TODO: Remove meta.broken on next release.
2122
version = "4.8.1";
2223
format = "setuptools";
23-
disabled = pythonOlder "3.8" || pythonAtLeast "3.11";
24+
25+
disabled = pythonOlder "3.8";
2426

2527
src = fetchPypi {
2628
inherit pname version;
@@ -85,5 +87,8 @@ buildPythonPackage rec {
8587
homepage = "https://github.com/enthought/mayavi";
8688
license = licenses.bsdOriginal;
8789
maintainers = with maintainers; [ knedlsepp ];
90+
# Should be fixed in a version from after March 26, see:
91+
# https://github.com/enthought/mayavi/issues/1284#issuecomment-2020631244
92+
broken = pythonAtLeast "3.12";
8893
};
8994
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7255,7 +7255,8 @@ self: super: with self; {
72557255
maya = callPackage ../development/python-modules/maya { };
72567256

72577257
mayavi = pkgs.libsForQt5.callPackage ../development/python-modules/mayavi {
7258-
inherit (self) buildPythonPackage pythonOlder pythonAtLeast pyface pygments numpy packaging vtk traitsui envisage apptools pyqt5;
7258+
inherit buildPythonPackage pythonOlder pythonAtLeast;
7259+
inherit (self) pyface pygments numpy packaging vtk traitsui envisage apptools pyqt5;
72597260
};
72607261

72617262
mayim = callPackage ../development/python-modules/mayim { };

0 commit comments

Comments
 (0)