You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/02/06 21:12:57 UTC

(airflow) branch main updated: Add documentation about ulimit use on MacOS for `uv sync` (#46537)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0c19449c675 Add documentation about ulimit use on MacOS for `uv sync` (#46537)
0c19449c675 is described below

commit 0c19449c675947b2ca932f0801a680de6cad89f8
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Thu Feb 6 22:12:51 2025 +0100

    Add documentation about ulimit use on MacOS for `uv sync` (#46537)
---
 contributing-docs/07_local_virtualenv.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contributing-docs/07_local_virtualenv.rst b/contributing-docs/07_local_virtualenv.rst
index ab9d09fef1f..22a21296e81 100644
--- a/contributing-docs/07_local_virtualenv.rst
+++ b/contributing-docs/07_local_virtualenv.rst
@@ -84,6 +84,12 @@ You can follow the `installation instructions <https://docs.astral.sh/uv/getting
 ``uv`` on your system. Once you have ``uv`` installed, you can do all the environment preparation tasks using
 ``uv`` commands.
 
+.. note::
+
+  Mac OS has a low ``ulimit`` setting (256) for number of opened file descriptors which does not work well with our
+  workspace when installing it and you can hit ``Too many open files`` error. You should run the
+  ``ulimit -n 2048`` command to increase the limit of file descriptors to 2048 (for example).
+
 Installing Python versions
 ..........................