Unverified Commit 4b7c4807 authored by a-n-n-a-l-e-e's avatar a-n-n-a-l-e-e Committed by GitHub
Browse files

Merge pull request #281232 from pbsds/fix-gradio-1705359646

python3Packages.gradio: raise ulimit on darwin
parents 9831d022 68ffb337
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
@@ -140,6 +141,9 @@ buildPythonPackage rec {
  preCheck = ''
    export HOME=$TMPDIR
    cat ${./conftest-skip-network-errors.py} >> test/conftest.py
  '' + lib.optionalString stdenv.isDarwin ''
    # OSError: [Errno 24] Too many open files
    ulimit -n 4096
  '';

  disabledTests = [