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
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
@ -140,6 +141,9 @@ buildPythonPackage rec {
|
|||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
cat ${./conftest-skip-network-errors.py} >> test/conftest.py
|
cat ${./conftest-skip-network-errors.py} >> test/conftest.py
|
||||||
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
|
# OSError: [Errno 24] Too many open files
|
||||||
|
ulimit -n 4096
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
Loading…
Reference in New Issue
Block a user