potiuk commented on issue #33241: URL: https://github.com/apache/airflow/issues/33241#issuecomment-1670450166
Specifically this: https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html#installation-from-pypi > While there are some successes with using other tools like [poetry](https://python-poetry.org/) or [pip-tools](https://pypi.org/project/pip-tools/), they do not share the same workflow as pip - especially when it comes to constraint vs. requirements management. Installing via Poetry or pip-tools is not currently supported. If you wish to install airflow using those tools you should use the constraints and convert them to appropriate format and workflow that your tool requires. > Typical command to install airflow from scratch in a reproducible way from PyPI looks like below: pip install "apache-airflow[celery]==2.6.3" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.6.3/constraints-3.7.txt" > Typically, you can add other dependencies and providers as separate command after the reproducible installation - this way you can upgrade or downgrade the dependencies as you see fit, without limiting them to constraints. Good practice for those is to extend such pip install command with the apache-airflow pinned to the version you have already installed to make sure it is not accidentally upgraded or downgraded by pip. > pip install "apache-airflow==2.6.3" apache-airflow-providers-google==10.1.0 Can you please explain @erg how after reading thos chapter you think you should use constraints to install "snowflake-connector-python with pandas extra using constratints? Where does it say so ? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
