python3Packages.blosc2: 3.11.1 -> 3.12.2; python3Package.mne: disable failing test on Python 3.14 (#477340)

This commit is contained in:
Fabian Affolter
2026-01-06 19:58:06 +00:00
committed by GitHub
2 changed files with 12 additions and 2 deletions
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
# build-system
cmake,
@@ -32,14 +33,14 @@
buildPythonPackage rec {
pname = "blosc2";
version = "3.11.1";
version = "3.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "Blosc";
repo = "python-blosc2";
tag = "v${version}";
hash = "sha256-n+DSBzb3XXzMEqx8ApFLymU1/IPZTcEFgRarvmYkZVY=";
hash = "sha256-t2tf8s2WwG4vEQbh8HACMtUjVrwmGby1yKd+IlL39PY=";
};
nativeBuildInputs = [
@@ -78,6 +79,10 @@ buildPythonPackage rec {
disabledTests = [
# attempts external network requests
"test_with_remote"
]
++ lib.optionals (pythonAtLeast "3.14") [
# https://github.com/Blosc/python-blosc2/issues/551
"test_expand_dims"
];
passthru.c-blosc2 = c-blosc2;
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
hatchling,
hatch-vcs,
numpy,
@@ -90,6 +91,10 @@ buildPythonPackage rec {
# flaky
"test_fine_cal_systems"
"test_simulate_raw_bem"
]
++ lib.optionals (pythonAtLeast "3.14") [
#https://github.com/mne-tools/mne-python/issues/13577
"test_set_montage_artinis_basic"
];
pytestFlag = [