python3Packages.scikit-bio: reduce openmp threads during tests

The tests finish quickly enough with just a single OpenMP thread and this
prevents it from becoming a scheduling nightmare on hydra.
This commit is contained in:
Martin Weinelt
2026-06-24 16:06:45 +02:00
parent 569f1dfc0c
commit 1d5fe677aa
@@ -62,6 +62,10 @@ buildPythonPackage (finalAttrs: {
pytestCheckHook
];
preCheck = ''
export OMP_NUM_THREADS=1
'';
# only the $out dir contains the built cython extensions, so we run the tests inside there
enabledTestPaths = [ "${placeholder "out"}/${python.sitePackages}/skbio" ];