@@ -541,6 +541,14 @@ extras can be specified after the usual pip install - for example
541
541
installs all development dependencies. There is also ``devel_ci `` that installs
542
542
all dependencies needed in the CI environment.
543
543
544
+ .. note ::
545
+ On 30th of November 2020, new version of PIP (20.3) has been released with a new, 2020 resolver.
546
+ This resolver does not yet work with Apache Airflow and might leads to errors in installation -
547
+ depends on your choice of extras. In order to install Airflow you need to either downgrade
548
+ pip to version 20.2.4 ``pip upgrade --pip==20.2.4 `` or, in case you use Pip 20.3, you need to add option
549
+ ``--use-deprecated legacy-resolver `` to your pip install command.
550
+
551
+
544
552
This is the full list of those extras:
545
553
546
554
.. START EXTRAS HERE
@@ -591,6 +599,14 @@ the other provider package you can install it adding [extra] after the
591
599
``pip install apache-airflow-backport-providers-google[amazon] `` in case you want to use GCP
592
600
transfer operators from Amazon ECS.
593
601
602
+ .. note ::
603
+ On 30th of November 2020, new version of PIP (20.3) has been released with a new, 2020 resolver.
604
+ This resolver does not yet work with Apache Airflow and might leads to errors in installation -
605
+ depends on your choice of extras. In order to install Airflow you need to either downgrade
606
+ pip to version 20.2.4 ``pip upgrade --pip==20.2.4 `` or, in case you use Pip 20.3, you need to add option
607
+ ``--use-deprecated legacy-resolver `` to your pip install command.
608
+
609
+
594
610
If you add a new dependency between different providers packages, it will be detected automatically during
595
611
pre-commit phase and pre-commit will fail - and add entry in dependencies.json so that the package extra
596
612
dependencies are properly added when package is installed.
@@ -671,6 +687,14 @@ install in case a direct or transitive dependency is released that breaks the in
671
687
when installing ``apache-airflow ``, you might need to provide additional constraints (for
672
688
example ``pip install apache-airflow==1.10.2 Werkzeug<1.0.0 ``)
673
689
690
+ .. note ::
691
+ On November 2020, new version of PIP (20.3) has been released with a new, 2020 resolver. This resolver
692
+ does not yet work with Apache Airflow and might leads to errors in installation - depends on your choice
693
+ of extras. In order to install Airflow you need to either downgrade pip to version 20.2.4
694
+ ``pip upgrade --pip==20.2.4 `` or, in case you use Pip 20.3, you need to add option
695
+ ``--use-deprecated legacy-resolver `` to your pip install command.
696
+
697
+
674
698
However we now have ``constraints-<PYTHON_MAJOR_MINOR_VERSION>.txt `` files generated
675
699
automatically and committed to orphan ``constraints-master `` and ``constraint-1-10 `` branches based on
676
700
the set of all latest working and tested dependency versions. Those
@@ -682,15 +706,13 @@ constraints file when installing Apache Airflow - either from the sources:
682
706
pip install -e . \
683
707
--constraint " https://raw.githubusercontent.com/apache/airflow/constraints-1-10/constraints-3.6.txt"
684
708
685
-
686
709
or from the pypi package:
687
710
688
711
.. code-block :: bash
689
712
690
713
pip install apache-airflow \
691
714
--constraint " https://raw.githubusercontent.com/apache/airflow/constraints-1-10/constraints-3.6.txt"
692
715
693
-
694
716
This works also with extras - for example:
695
717
696
718
.. code-block :: bash
0 commit comments