potiuk opened a new pull request #11529:
URL: https://github.com/apache/airflow/pull/11529


   In Airflow 2.0 we decided to split Airlow into separate providers.
   this means that when you prepare core airflow package, providers
   are not installed by default. This is not very convenient for
   local development though and for docker images built from sources,
   where you would like to install all providers by default.
   
   A new INSTALL_ALL_AIRFLOW_PROVIDERS environment variable controls
   this behaviour now. It is is set to "true", all packages including
   provider packages are installed. If missing or set to false, only
   the core provider package is installed.
   
   For Breeze, the default is set to "true", as for those cases you
   want to install all providers in your environment. Similarly if you
   build the production image from sources. However when you build
   image using github tag or pip package, you should specify
   appropriate extras to install the required provider packages.
   
   Note that if you install Airflow via 'pip install .' from sources
   in local virtualenv, provider packages are not going to be
   installed unless you set INSTALL_ALL_AIRFLOW_PROVIDERS to "true".
   
   Fixes #11489
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to