Skip to content

Commit

Permalink
python31Packages.nibabel: unbreak by disabling test requiring `distut…
Browse files Browse the repository at this point in the history
…ils`
  • Loading branch information
bcdarwin committed Apr 3, 2024
1 parent 4c2f2f1 commit 4874517
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 4874517

Please sign in to comment.