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" ""
'';
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" ];