From fc78ff4d81bf513f6ae893f5744b0473d308a0b5 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 14 Apr 2026 20:12:20 +0200 Subject: [PATCH] python3Packages.nitime: unbreak fixes https://hydra.nixos.org/build/325305468 --- .../development/python-modules/nitime/default.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/nitime/default.nix b/pkgs/development/python-modules/nitime/default.nix index 43572d94e53c..d06bb21395ce 100644 --- a/pkgs/development/python-modules/nitime/default.nix +++ b/pkgs/development/python-modules/nitime/default.nix @@ -4,6 +4,7 @@ buildPythonPackage, fetchPypi, pytestCheckHook, + pytest-cov-stub, cython, setuptools, setuptools-scm, @@ -40,10 +41,22 @@ buildPythonPackage rec { nibabel ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pytest-cov-stub + ]; doCheck = !stdenv.hostPlatform.isDarwin; # tests hang indefinitely + disabledTests = [ + # [doctest] nitime.tests.test_timeseries.test_UniformTime_repr + # Expected: + # UniformTime([ 0., 1000., 2000., 3000., 4000.], time_unit='ms') + # Got: + # UniformTime([ 0., 1000., 2000., 3000., 4000.], time_unit='ms') + "test_UniformTime_repr" + ]; + pythonImportsCheck = [ "nitime" ]; meta = {