From 9e9e6c58b75ef05f32fbe947233eefbca400af62 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Tue, 5 Nov 2024 13:43:25 -0500 Subject: [PATCH] python312Packages.mne-python: unbreak tests --- pkgs/development/python-modules/mne-python/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mne-python/default.nix b/pkgs/development/python-modules/mne-python/default.nix index 8199b8a874e2..3493806d5fe4 100644 --- a/pkgs/development/python-modules/mne-python/default.nix +++ b/pkgs/development/python-modules/mne-python/default.nix @@ -40,12 +40,12 @@ buildPythonPackage rec { --replace-fail "--cov-branch" "" ''; - nativeBuildInputs = [ + build-system = [ hatchling hatch-vcs ]; - propagatedBuildInputs = [ + dependencies = [ numpy scipy matplotlib @@ -74,8 +74,10 @@ buildPythonPackage rec { ''; disabledTests = [ - # Fails due to changes in Numpy types - "mne.stats._adjacency.combine_adjacency" + # requires qtbot which is unmaintained/not in Nixpkgs: + "test_plotting_scalebars" + # tries to write a datetime object to hdf5, which fails: + "test_hitachi_basic" ]; pythonImportsCheck = [ "mne" ];