Skip to content

Commit

Permalink
Merge pull request #301089 from bcdarwin/python312-nibabel-unbreak
Browse files Browse the repository at this point in the history
python312Packages.nibabel: unbreak by disabling test requiring `distutils`
  • Loading branch information
pbsds authored Apr 13, 2024
2 parents ee64a5f + 4874517 commit f8e37ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/nibabel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f8e37ff

Please sign in to comment.