Merge pull request #230112 from kira-bruneau/python3Packages.debugpy
python310Packages.debugpy: increase timeouts on tests
This commit is contained in:
commit
b33ffacb8f
1 changed files with 7 additions and 1 deletions
|
@ -90,7 +90,13 @@ buildPythonPackage rec {
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
|
preCheck = ''
|
||||||
|
# Scale default timeouts by a factor of 4 to avoid flaky builds
|
||||||
|
# https://github.com/microsoft/debugpy/pull/1286 if merged would
|
||||||
|
# allow us to disable the timeouts altogether
|
||||||
|
export DEBUGPY_PROCESS_SPAWN_TIMEOUT=60
|
||||||
|
export DEBUGPY_PROCESS_EXIT_TIMEOUT=20
|
||||||
|
'' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
|
||||||
# https://github.com/python/cpython/issues/74570#issuecomment-1093748531
|
# https://github.com/python/cpython/issues/74570#issuecomment-1093748531
|
||||||
export no_proxy='*';
|
export no_proxy='*';
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue