From b57fad926ccb738a80158c40576dc2a9cf3fcad0 Mon Sep 17 00:00:00 2001 From: auyua9 Date: Sat, 4 Apr 2026 23:49:47 +0800 Subject: [PATCH] docs: refresh installing.md stable version examples --- INSTALLING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALLING.md b/INSTALLING.md index e62b66a7a2a0e..c9f4d862d7184 100644 --- a/INSTALLING.md +++ b/INSTALLING.md @@ -67,7 +67,7 @@ source airflow_venv/bin/activate 5. **Install Apache Airflow**: Apache Airflow is available on PyPI. To install it, you can use the following command in your terminal: ```bash -pip install apache-airflow==3.0.0 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.0/constraints-3.11.txt" +pip install apache-airflow==3.1.8 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.1.8/constraints-3.11.txt" ``` Note that installing with constraints - at least initially - is recommended for reproducible installation. It might sometimes happen that 3rd-party distributions are released and their latest versions break airflow. Using constraints makes the installation reproducible with versions of dependencies that were "frozen" at the time of releasing airflow. Note you have to specify both - airflow version and Python version you are using. @@ -75,7 +75,7 @@ Note that installing with constraints - at least initially - is recommended for You can also specify additional extras - when you want to install airflow with additional providers: ```bash -pip install apache-airflow[amazon,google]==3.0.0 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.0/constraints-3.11.txt" +pip install apache-airflow[amazon,google]==3.1.8 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.1.8/constraints-3.11.txt" ``` 6. **Set the AIRFLOW_HOME Environment Variable**: Apache Airflow requires a directory to store configuration files, logs, and other data. Set the AIRFLOW_HOME variable to specify this directory.