Commit 4874517e authored by Ben Darwin's avatar Ben Darwin
Browse files

python31Packages.nibabel: unbreak by disabling test requiring `distutils`

parent 4c2f2f1a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -77,6 +77,11 @@ buildPythonPackage rec {
    export PATH=$out/bin:$PATH
  '';

  disabledTestPaths = lib.optionals (!pythonOlder "3.12") [
    # tries to use `distutils`, removed in Python 3.12
    "nisext/tests/test_sexts.py"
  ];

  meta = with lib; {
    homepage = "https://nipy.org/nibabel";
    changelog = "https://github.com/nipy/nibabel/blob/${version}/Changelog";