You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/05/13 09:45:45 UTC

[GitHub] [airflow] eladkal commented on a diff in pull request #23697: Clarify that bundle extras should not be used for PyPi installs

eladkal commented on code in PR #23697:
URL: https://github.com/apache/airflow/pull/23697#discussion_r872199082


##########
docs/apache-airflow/extra-packages-ref.rst:
##########
@@ -294,7 +294,12 @@ Those are extras that provide support for integration with external systems via
 Bundle extras
 -------------
 
-Those are extras that install one ore more extras as a bundle.
+Those are extras that install one ore more extras as a bundle. Note that those extras should only be used for "development" version
+of Airflow - i.e. when Airflow is installed from sources. Because of the way how bundle extras are constructed they might not
+work when airflow is installed from 'PyPI`.
+
+If you want to install Airflow from PyPI with "all" extras (which should basically be never needed - you almost never need all extras from Airflow),
+you need to list explicitly all the non-bundle extras that you want to install.

Review Comment:
   Not really relevant here but sense we are talking about dev extras...
   One of the things that troubles me is that the packages that we bring with `devel` are also part of the constraints that we release to the users - I believe that we should not do that.
   
   For example in https://raw.githubusercontent.com/apache/airflow/constraints-2.3.0/constraints-3.7.txt you can find `freezegun`.



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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org