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 2020/12/18 12:36:01 UTC

[GitHub] [airflow] potiuk commented on issue #13149: Failure during "airflow db init" on fresh airflow 2.0 installation

potiuk commented on issue #13149:
URL: https://github.com/apache/airflow/issues/13149#issuecomment-748062078


   Hello. We so not support installing airlfow via Poetry. 
   
   The official way of installing airflow in a reproducible way is described here (using PIP 20.2.4 and constraint mechanism) : 
   
   http://airflow.apache.org/docs/apache-airflow/stable/installation.html#getting-airflow
   
   Also the problems with PIP 20.3 has been apparently solved (we are still verifying it) so installing with PIP should also work.
   
   Can you please verify that the problem persists if you follow the official installation mechanism? 
   
   
   If want to still stay with poetry, the list of "consistent" and working constraints for Airflow 2.0.0  is available here https://github.com/apache/airflow/tree/constraints-2.0.0 (separate for each python version supported)  and in case poetry resolves those constraints differently, I encourage you to make it follow the constraints we publish. 
   
   If you see any further problems, simple comparision of your installed versions of dependencies with the ones provided by our constraints should help you to resolve the problem and make poetry install the right versions. I am not sure how this can be done, I do not know poetry that well, but if you find how to make this works with poetry It would be great if you could contribute back the description on how to make our constraint mechanisms work with poetry-driven installations.
   
   We've the whole CI set of tests employed in place to make sure that the list of "valid" constraints is up-to-date and automatically verified, so folowing the constraints we produce is the best to make sure your installation is smooth and works.
   
   You can read more on why this works this way and how it actually works in [here](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#dependency-management) if you are interested why we chose this path.
   
   I am closing it as invalid now, but if you try to match the constraints and you see that you still have the same problems even with the same versions of dependencies installed, feel free to add extra comment here.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org