Setting stack resource limit to infinity via resource.strlimit fails when importing bigframes.pandas on macOS #540
Labels
api: bigquery
Issues related to the googleapis/python-bigquery-dataframes API.
Uh oh!
There was an error while loading. Please reload this page.
It appears that
resource.strlimit
is unable to set the stack resource limit toRLIM_INFINITY
in macOS Sonoma 14.1 build 23B74.It looks like by running
sudo ulimit -s unlimited
would allow this to be set, but it seems bad to have to escalate to super admin in order to achieve the outcome. Not sure what the expected outcome is here. Commenting those lines out lets scripts using bigframes using pandas run, but not sure where the limitation would be hit.Environment details
Python: 3.10.13 (main, Aug 24 2023, 22:36:46) [Clang 14.0.3 (clang-1403.0.22.14.1)]
pip 23.2.1 from <path omitted>/.venv/lib/python3.10/site-packages/pip (python 3.10)
bigframes
version:bigframes==1.0.0
Steps to reproduce
python3
Code example
around L717 of
bigframes/pandas/__init__.py
:Stack trace
The text was updated successfully, but these errors were encountered: