|
| 1 | + .. Licensed to the Apache Software Foundation (ASF) under one |
| 2 | + or more contributor license agreements. See the NOTICE file |
| 3 | + distributed with this work for additional information |
| 4 | + regarding copyright ownership. The ASF licenses this file |
| 5 | + to you under the Apache License, Version 2.0 (the |
| 6 | + "License"); you may not use this file except in compliance |
| 7 | + with the License. You may obtain a copy of the License at |
| 8 | +
|
| 9 | + .. http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + .. Unless required by applicable law or agreed to in writing, |
| 12 | + software distributed under the License is distributed on an |
| 13 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | + KIND, either express or implied. See the License for the |
| 15 | + specific language governing permissions and limitations |
| 16 | + under the License. |
| 17 | +
|
| 18 | +Installation from PyPI |
| 19 | +---------------------- |
| 20 | + |
| 21 | +.. contents:: :local: |
| 22 | + |
| 23 | + |
| 24 | +This page describes installations using the ``apache-airflow-providers`` package `published in |
| 25 | +PyPI <https://pypi.org/search/?q=apache-airflow-providers>`__. |
| 26 | + |
| 27 | +Installation tools |
| 28 | +'''''''''''''''''' |
| 29 | + |
| 30 | +Only ``pip`` installation is currently officially supported. |
| 31 | + |
| 32 | +While there are some successes with using other tools like `poetry <https://python-poetry.org/>`_ or |
| 33 | +`pip-tools <https://pypi.org/project/pip-tools/>`_, they do not share the same workflow as |
| 34 | +``pip`` - especially when it comes to constraint vs. requirements management. |
| 35 | +Installing via ``Poetry`` or ``pip-tools`` is not currently supported. If you wish to install airflow |
| 36 | +using those tools you should use the constraints and convert them to appropriate |
| 37 | +format and workflow that your tool requires. |
| 38 | + |
| 39 | +Typical command to install airflow from PyPI looks like below (you need to use the right Airflow version and Python version): |
| 40 | + |
| 41 | +.. code-block:: |
| 42 | +
|
| 43 | + pip install "apache-airflow-providers-celery" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.1.4/constraints-3.6.txt" |
| 44 | +
|
| 45 | +This is an example, see :doc:`apache-airflow:installation/installing-from-pypi` for more examples, including how to upgrade the providers. |
0 commit comments