Merge pull request #197087 from mjmaurer/fix/pypackage-poetry-m1
python3Packages.poetry: fix thread crashes in tests on aarch64-darwin
This commit is contained in:
commit
c1989c17e2
1 changed files with 8 additions and 1 deletions
|
@ -106,8 +106,15 @@ buildPythonPackage rec {
|
|||
pytest-xdist
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
preCheck = (''
|
||||
export HOME=$TMPDIR
|
||||
'' + 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
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
|
|
Loading…
Reference in a new issue