mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #281232 from pbsds/fix-gradio-1705359646
python3Packages.gradio: raise ulimit on darwin
This commit is contained in:
commit
4b7c480779
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user