python313Packages.mne: 1.9.0-unstable-2025-05-01 -> 1.10.0 (#432633)
This commit is contained in:
@@ -6,9 +6,12 @@
|
||||
hatch-vcs,
|
||||
numpy,
|
||||
scipy,
|
||||
flaky,
|
||||
pandas,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pytest-timeout,
|
||||
writableTmpDirAsHomeHook,
|
||||
matplotlib,
|
||||
decorator,
|
||||
jinja2,
|
||||
@@ -25,22 +28,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mne";
|
||||
# https://github.com/mne-tools/mne-python/pull/13049 is required to build, it does not apply if fetchpatch'ed
|
||||
stableVersion = "1.9.0";
|
||||
version = "1.9.0-unstable-2025-05-01";
|
||||
version = "1.10.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mne-tools";
|
||||
repo = "mne-python";
|
||||
rev = "5df1721b488070e3b3928dface9dd0b8c39a3bef";
|
||||
hash = "sha256-BCLejk0sVym+HRCfnTl5LTOGUMrQdxZbqhrCnIpzsvM=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-j0kPtw00gV50Nuh/b4+Jq6P7pQVRgr4/xMTwRSyzJcU=";
|
||||
};
|
||||
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = stableVersion;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace doc/conf.py \
|
||||
--replace-fail '"optipng"' '"${lib.getExe optipng}"'
|
||||
@@ -72,14 +71,16 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
flaky
|
||||
pandas
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
pytest-timeout
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
export MNE_SKIP_TESTING_DATASET_TESTS=true
|
||||
export MNE_SKIP_NETWORK_TESTS=1
|
||||
'';
|
||||
@@ -95,7 +96,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
pytestFlag = [
|
||||
# removes 700k lines form pytest log, remove this when scipy is at v1.17.0
|
||||
# removes 700k lines from pytest log, remove this when scipy is at v1.17.0
|
||||
"--disable-warnings"
|
||||
];
|
||||
|
||||
@@ -107,13 +108,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "mne" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Magnetoencephelography and electroencephalography in Python";
|
||||
mainProgram = "mne";
|
||||
homepage = "https://mne.tools";
|
||||
changelog = "https://mne.tools/stable/changes/${stableVersion}.html";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [
|
||||
changelog = "https://mne.tools/stable/changes/${version}.html";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
bcdarwin
|
||||
mbalatsko
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user