Unverified Commit c1989c17 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #197087 from mjmaurer/fix/pypackage-poetry-m1

python3Packages.poetry: fix thread crashes in tests on aarch64-darwin
parents d5f444ef 511fdd09
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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 = [