This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit e13fc008fed2e329cf18c246c499345e8eaa4e1f
Author: Ephraim Anierobi <splendidzig...@gmail.com>
AuthorDate: Wed May 4 15:23:00 2022 +0100

    Remove remaining Python3.6 references (#23474)
    
    (cherry picked from commit d9902958448b9d6e013f90f14d2d066f3121dcd5)
---
 docs/apache-airflow-providers/installing-from-pypi.rst       |  2 +-
 docs/apache-airflow/upgrading-from-1-10/index.rst            |  2 ++
 docs/docker-stack/build.rst                                  | 12 ++++++------
 .../docker-examples/customizing/pypi-extras-and-deps.sh      |  2 +-
 .../docker-examples/customizing/pypi-selected-version.sh     |  2 +-
 5 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/docs/apache-airflow-providers/installing-from-pypi.rst 
b/docs/apache-airflow-providers/installing-from-pypi.rst
index 9c3af289d7..227398d611 100644
--- a/docs/apache-airflow-providers/installing-from-pypi.rst
+++ b/docs/apache-airflow-providers/installing-from-pypi.rst
@@ -37,6 +37,6 @@ Typical command to install airflow from PyPI looks like below 
(you need to use t
 
 .. code-block::
 
-    pip install "apache-airflow-providers-celery" --constraint 
"https://raw.githubusercontent.com/apache/airflow/constraints-2.1.4/constraints-3.6.txt";
+    pip install "apache-airflow-providers-celery" --constraint 
"https://raw.githubusercontent.com/apache/airflow/constraints-2.3.0/constraints-3.7.txt";
 
 This is an example, see 
:doc:`apache-airflow:installation/installing-from-pypi` for more examples, 
including how to upgrade the providers.
diff --git a/docs/apache-airflow/upgrading-from-1-10/index.rst 
b/docs/apache-airflow/upgrading-from-1-10/index.rst
index c9cfd8d648..334753e52b 100644
--- a/docs/apache-airflow/upgrading-from-1-10/index.rst
+++ b/docs/apache-airflow/upgrading-from-1-10/index.rst
@@ -34,6 +34,8 @@ Airflow 1.10 was the last release series to support Python 2. 
Airflow 2.0.0
 requires Python 3.6+ and has been tested with Python versions 3.6, 3.7 and 3.8.
 Python 3.9 support was added from Airflow 2.1.2.
 
+Airflow 2.3.0 dropped support for Python 3.6. It's tested with Python 3.7, 
3.8, 3.9 and 3.10.
+
 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.
 
 For a list of breaking changes between Python 2 and Python 3, please refer to 
this
diff --git a/docs/docker-stack/build.rst b/docs/docker-stack/build.rst
index a28d162cec..808cbc202a 100644
--- a/docs/docker-stack/build.rst
+++ b/docs/docker-stack/build.rst
@@ -550,16 +550,16 @@ Building from PyPI packages
 
 This is the basic way of building the custom images from sources.
 
-The following example builds the production image in version ``3.6`` with 
latest PyPI-released Airflow,
-with default set of Airflow extras and dependencies. The ``2.0.2`` constraints 
are used automatically.
+The following example builds the production image in version ``3.7`` with 
latest PyPI-released Airflow,
+with default set of Airflow extras and dependencies. The latest PyPI-released 
Airflow constraints are used automatically.
 
 .. exampleinclude:: docker-examples/customizing/stable-airflow.sh
     :language: bash
     :start-after: [START build]
     :end-before: [END build]
 
-The following example builds the production image in version ``3.7`` with 
default extras from ``2.0.2`` PyPI
-package. The ``2.0.2`` constraints are used automatically.
+The following example builds the production image in version ``3.7`` with 
default extras from ``2.3.0`` Airflow
+package. The ``2.3.0`` constraints are used automatically.
 
 .. exampleinclude:: docker-examples/customizing/pypi-selected-version.sh
     :language: bash
@@ -567,7 +567,7 @@ package. The ``2.0.2`` constraints are used automatically.
     :end-before: [END build]
 
 The following example builds the production image in version ``3.8`` with 
additional airflow extras
-(``mssql,hdfs``) from ``2.0.2`` PyPI package, and additional dependency 
(``oauth2client``).
+(``mssql,hdfs``) from ``2.3.0`` PyPI package, and additional dependency 
(``oauth2client``).
 
 .. exampleinclude:: docker-examples/customizing/pypi-extras-and-deps.sh
     :language: bash
@@ -593,7 +593,7 @@ have more complex dependencies to build.
 Building optimized images
 .........................
 
-The following example the production image in version ``3.6`` with additional 
airflow extras from ``2.0.2``
+The following example the production image in version ``3.7`` with additional 
airflow extras from ``2.0.2``
 PyPI package but it includes additional apt dev and runtime dependencies.
 
 The dev dependencies are those that require ``build-essential`` and usually 
need to involve recompiling
diff --git 
a/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh 
b/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh
index f073aafb3c..ff3a581930 100755
--- a/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh
+++ b/docs/docker-stack/docker-examples/customizing/pypi-extras-and-deps.sh
@@ -26,7 +26,7 @@ pushd "${TEMP_DOCKER_DIR}"
 cp "${AIRFLOW_SOURCES}/Dockerfile" "${TEMP_DOCKER_DIR}"
 
 # [START build]
-export AIRFLOW_VERSION=2.2.2
+export AIRFLOW_VERSION=2.3.0
 export DEBIAN_VERSION="bullseye"
 export DOCKER_BUILDKIT=1
 
diff --git 
a/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh 
b/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh
index 63c673612a..dcec046cb7 100755
--- a/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh
+++ b/docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh
@@ -26,7 +26,7 @@ pushd "${TEMP_DOCKER_DIR}"
 cp "${AIRFLOW_SOURCES}/Dockerfile" "${TEMP_DOCKER_DIR}"
 
 # [START build]
-export AIRFLOW_VERSION=2.2.4
+export AIRFLOW_VERSION=2.3.0
 export DOCKER_BUILDKIT=1
 
 docker build . \

Reply via email to