Unverified Commit b83d9abf authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

parents 7d9edc43 9e9e6c58
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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" ];