python3Packages.numexpr: relax thread limit hook (#541783)

This commit is contained in:
Vladimír Čunát
2026-07-14 12:39:18 +00:00
committed by GitHub
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchPypi,
numpy,
pytest-run-parallel,
pytestCheckHook,
setuptools,
# sets NUMEXPR_NUM_THREADS and OMP_NUM_THREADS for packages
@@ -34,12 +35,18 @@ buildPythonPackage rec {
ln -s ${numpy.cfg} site.cfg
'';
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-run-parallel
pytestCheckHook
];
propagatedNativeBuildInputs = [
checkPhaseThreadLimitHook
];
# tests check for OMP_NUM_THREADS application and complete quick enough
env.dontLimitCheckPhaseThreads = 1;
preCheck = ''
pushd $out
'';