Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error message where non-compatible providers are not excluded (#…
…30629) When compatibility check is performed for old version of Airflow, we attempt to install all providers for the old version. However if one of the providers has >= limit on Airflow for newer version of Airflow, this installation lead to attempting to upgrade airflow rather than fail, which could lead to misleading errors. This change adds "airflow==x.y.z" taken from --use-airflow-version flag to the `pip install` command, which should in this case fail with much more accurate message, that the provider conflicts with airflo version.
- Loading branch information