Added information about currently supported Python versions (#13029)

Added information to the Upgrading to 2.0 doc and the installation doc
to show the currently supported Python versions.
This commit is contained in:
Vikram Koka 2020-12-12 01:26:24 -08:00 коммит произвёл GitHub
Родитель 1a56a58a0b
Коммит b6678fa328
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -68,6 +68,9 @@ and python versions in the URL.
# For example: https://raw.githubusercontent.com/apache/airflow/constraints-1.10.14/constraints-3.6.txt
pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
Please note that with respect to Python 3 support, Airflow 1.10.14 has been
tested with Python 3.6, 3.7, and 3.8, but does not yet support Python 3.9.
2. Installing with extras (for example postgres, google)
.. note::

Просмотреть файл

@ -27,7 +27,9 @@ users to migrate from Airflow 1.10.x to Airflow 2.0.
Step 1: Upgrade to Python 3
'''''''''''''''''''''''''''
Airflow 1.10 will be the last release series to support Python 2. Airflow 2.0.0 will require Python 3.6+.
Airflow 1.10 will be the last release series to support Python 2. Airflow 2.0.0 will
require Python 3.6+ and at this point in time has been tested with Python versions 3.6, 3.7,
and 3.8, but does not yet support Python 3.9.
If you have a specific task that still requires Python 2 then you can use the :class:`~airflow.operators.python.PythonVirtualenvOperator` or the ``KubernetesPodOperator`` for this.