python3Packages.gradio: raise ulimit on darwin

This commit is contained in:
Peder Bergebakken Sundt 2024-01-16 00:08:09 +01:00
parent 5588ea991b
commit 68ffb337b0

View File

@ -1,4 +1,5 @@
{ 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 = [