forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forces unistalling providers in editable mode. (apache#13439)
We cannot skip installing providers, but this causes problems when installing airflow in editable mode, because providers are in two places - in airflow sources and in provider packages. This change removes installed provider packages when airflow is installed in editable mode to mitigate the problem. This way, there is no need to use INSTALL_PROVIDERS_FROM_SOURCES variable when installing in editable mode. We still need to keep INSTALL_PROVIDERS_FROM_SOURCES for cases when non-editable mode is used. In this way one can easily install curent version of provider packages locally with pip install and have the latest sources of both airflow and providers installed. Also INSTALL_PROVIDERS_FROM_SOURCES is particularly useful if you develop a new provider and reinstall airflow - because otherwise it will try to install the provider from a non-existing package. This is why all regular CI jobs and Breeze have INSTALL_PROVIDERS_FROM_SOURCES set by default.
- Loading branch information
Showing
11 changed files
with
389 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.