Merge pull request #193254 from fmoda3/fix-debugpy-m1
python3Packages.debugpy: fix thread crashes in tests on aarch64-darwin
This commit is contained in:
commit
9a97e910d3
1 changed files with 9 additions and 0 deletions
|
@ -80,6 +80,15 @@ buildPythonPackage rec {
|
|||
requests
|
||||
];
|
||||
|
||||
preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
|
||||
# https://github.com/python/cpython/issues/74570#issuecomment-1093748531
|
||||
export no_proxy='*';
|
||||
'';
|
||||
|
||||
postCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
|
||||
unset no_proxy
|
||||
'';
|
||||
|
||||
# Override default arguments in pytest.ini
|
||||
pytestFlagsArray = [
|
||||
"--timeout=0"
|
||||
|
|
Loading…
Reference in a new issue