Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue: Sentry causes failures in 2.9.2
Fix issue aws#121. The issue is caused because we are trying to initialize the DB before installing the requirements. This causes this line in Airflow code base to fail because `sentry_sdk` isn't installed yet: https://github.com/apache/airflow/blob/2.9.2/airflow/sentry.py#L58 To fix this issue, I moved the installation of PIP requirements before the DB initialization. This is unrelated to this issue, but when creating a process to install the requirements, there is no need to pass the environment variables we craft for Airflow processes, as what we simply just running a pip install command.
- Loading branch information