Taragolis commented on code in PR #35513:
URL: https://github.com/apache/airflow/pull/35513#discussion_r1385481430


##########
docs/apache-airflow/howto/docker-compose/docker-compose.yaml:
##########
@@ -189,20 +187,6 @@ services:
     command:
       - -c
       - |
-        function ver() {
-          printf "%04d%04d%04d%04d" $${1//./ }
-        }
-        airflow_version=$$(AIRFLOW__LOGGING__LOGGING_LEVEL=INFO && gosu 
airflow airflow version)
-        airflow_version_comparable=$$(ver $${airflow_version})
-        min_airflow_version=2.2.0
-        min_airflow_version_comparable=$$(ver $${min_airflow_version})
-        if (( airflow_version_comparable < min_airflow_version_comparable )); 
then
-          echo
-          echo -e "\033[1;31mERROR!!!: Too old Airflow version 
$${airflow_version}!\e[0m"
-          echo "The minimum Airflow version supported: 
$${min_airflow_version}. Only use this or higher!"
-          echo
-          exit 1
-        fi

Review Comment:
   This part when it failed due to wrong airflow dependencies might shows that 
user might use Airflow below 2.2. Which is usual fae away of reality



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to