mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.debugpy: fix thread crashes in tests on aarch64-darwin
This commit is contained in:
parent
f28b6e5468
commit
879e6c7192
@ -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 New Issue
Block a user