python3Packages.bambi: fix broken test

This commit is contained in:
Gaetan Lepage
2026-03-24 23:45:52 +00:00
parent f79856aae4
commit 38cc1f1861
@@ -36,6 +36,14 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-Vjv62cYDIuTLE7MxRt4Havy7DMOiMTyIixbs4LGFGGs=";
};
# TypeError: NDArray.record() missing 1 required keyword-only argument: 'in_warmup'
postPatch = ''
substituteInPlace bambi/backend/pymc.py \
--replace-fail \
"strace.record(point=dict(zip(varnames, value)))" \
"strace.record(point=dict(zip(varnames, value)), in_warmup=False)"
'';
build-system = [
setuptools
setuptools-scm