potiuk commented on code in PR #50179: URL: https://github.com/apache/airflow/pull/50179#discussion_r2073008639
########## README.md: ########## @@ -188,6 +188,75 @@ pip install 'apache-airflow[postgres,google]==3.0.0' \ For information on installing provider distributions, check [providers](http://airflow.apache.org/docs/apache-airflow-providers/index.html). +## Setting up Apache Airflow on Apple Silicon (Mac M1/M2/M3/M4) + +> ⚠️ Avoid using either system-installed Python or Python from Homebrew, as these versions are often labeled `--externally-managed` resulting in restricted dependency installation. + +### ✅ Recommended Setup (using pyenv): Review Comment: ```suggestion You can use other ways to install Python and airflow. Airflow development setup requires ``uv`` and if you want to setup environment for development, `uv` is the only supported local development environment setup, because we are using `uv workspace` extensively. See [local virtualenv setup in contributing docs](https://github.com/apache/airflow/blob/main/contributing-docs/07_local_virtualenv.rst) for details. If you are just installing airflow to run it locally, You can use other ways to setup your Python and virtualenv: `uv` is one of the options (refer to `uv` documentation, but you can also use more traditional tools - for example `pyenv`. Note that it is recommmended to install airflow with constraints - at least initially - because this way you can reproducibly install airflow. See [Installation from PyPI[(https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html) for more details. Herr ### ✅ Setup using pyenv: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
