airflowctl
airflowctl copied to clipboard
Add checks before running "build" command to verify Airflow installation succeeds
Airflow installation can fail because of the following:
- Constraints file doesn't exist because Python version wasn't supported when that specific Airflow version was released
- Verify passed python version is in the "official" supported Python version on Airflow (https://github.com/apache/airflow#requirements) and verify other things in that requirements like DB version if someone had configured a different metadata DB or an
Running of Airflow can fail because of the following:
- "airflow standalone" isn't available Airflow <2.2
- Old SQLite version (https://airflow.apache.org/docs/apache-airflow/2.4.3/howto/set-up-database.html#setting-up-a-sqlite-database)