Merge pull request #301089 from bcdarwin/python312-nibabel-unbreak

python312Packages.nibabel: unbreak by disabling test requiring `distutils`
This commit is contained in:
Peder Bergebakken Sundt 2024-04-13 15:23:22 +02:00 committed by GitHub
commit f8e37ff586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";