python31Packages.nibabel: unbreak by disabling test requiring distutils

This commit is contained in:
Ben Darwin
2024-04-02 20:16:31 -04:00
parent 4c2f2f1a53
commit 4874517e27
@@ -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";