Skip to content

Commit

Permalink
updated install airflow for three OSs
Browse files Browse the repository at this point in the history
  • Loading branch information
satish-chinthanippu committed Jul 12, 2024
1 parent aa5ec9c commit 2fede66
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,43 @@ export AIRFLOW_HOME=~/airflow
----
2. Install `apache-airflow` stable version 2.9.2 from PyPI repository.:
+
[tabs]
====
Windows::
+
--
[source, bash]
----
AIRFLOW_VERSION=2.9.2
PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
----
--
MacOS::
+
--
[source, bash]
----
AIRFLOW_VERSION=2.9.2
PYTHON_VERSION="$(python3 --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
----
--
Linux::
+
--
[source, bash]
----
AIRFLOW_VERSION=2.9.2
PYTHON_VERSION="$(python3 --version | cut -d " " -f 2 | cut -d "." -f 1-2)"
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
----
--
====

3. Install the Airflow Teradata provider stable version from PyPI repository.
+
[source, bash]
Expand Down

0 comments on commit 2fede66

Please sign in to comment.