python312Packages.mne-python: unbreak tests (#353888)

This commit is contained in:
Weijia Wang 2024-11-07 01:49:49 +01:00 committed by GitHub
commit b83d9abfb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,12 +40,12 @@ buildPythonPackage rec {
--replace-fail "--cov-branch" "" --replace-fail "--cov-branch" ""
''; '';
nativeBuildInputs = [ build-system = [
hatchling hatchling
hatch-vcs hatch-vcs
]; ];
propagatedBuildInputs = [ dependencies = [
numpy numpy
scipy scipy
matplotlib matplotlib
@ -74,8 +74,10 @@ buildPythonPackage rec {
''; '';
disabledTests = [ disabledTests = [
# Fails due to changes in Numpy types # requires qtbot which is unmaintained/not in Nixpkgs:
"mne.stats._adjacency.combine_adjacency" "test_plotting_scalebars"
# tries to write a datetime object to hdf5, which fails:
"test_hitachi_basic"
]; ];
pythonImportsCheck = [ "mne" ]; pythonImportsCheck = [ "mne" ];