diff --git a/.test-infra/tools/README.md b/.test-infra/tools/README.md index 1c7addfd3941..df6ab9525e9a 100644 --- a/.test-infra/tools/README.md +++ b/.test-infra/tools/README.md @@ -47,11 +47,11 @@ Example: - Original ```bash -python_versions_arr=("3.6.13" "3.7.10" "3.8.9" "3.9.4") +python_versions_arr=("3.8.16" "3.7.16" "3.9.16" "3.10.10") ``` - Change ```bash -python_versions_arr=("3.6.13" "3.7.10" "3.9.0" "3.10.2") +python_versions_arr=("3.8.10" "3.9.0" "3.10.2") ``` diff --git a/.test-infra/tools/python_installer.sh b/.test-infra/tools/python_installer.sh index 0fe73e7fabdd..0b40eb12b993 100644 --- a/.test-infra/tools/python_installer.sh +++ b/.test-infra/tools/python_installer.sh @@ -20,7 +20,7 @@ set -euo pipefail # Variable containing the python versions to install -python_versions_arr=("3.8.9" "3.6.13" "3.7.10" "3.9.4" "3.10.1") +python_versions_arr=("3.8.16" "3.7.16" "3.9.16" "3.10.10") # Install pyenv dependencies. pyenv_dep(){ diff --git a/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py b/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py index 9ac2ceb98ba9..bed2cdc677a5 100644 --- a/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py +++ b/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py @@ -81,7 +81,7 @@ _LOGGER = logging.getLogger(__name__) -_PYTHON_VERSIONS_SUPPORTED_BY_DATAFLOW = ['3.6', '3.7', '3.8', '3.9', '3.10'] +_PYTHON_VERSIONS_SUPPORTED_BY_DATAFLOW = ['3.7', '3.8', '3.9', '3.10'] class Step(object): diff --git a/website/www/site/content/en/get-started/quickstart-py.md b/website/www/site/content/en/get-started/quickstart-py.md index d09548df2801..aa905998d571 100644 --- a/website/www/site/content/en/get-started/quickstart-py.md +++ b/website/www/site/content/en/get-started/quickstart-py.md @@ -23,7 +23,7 @@ If you're interested in contributing to the Apache Beam Python codebase, see the {{< toc >}} -The Python SDK supports Python 3.6, 3.7, and 3.8. Beam 2.24.0 was the last release with support for Python 2.7 and 3.5. +The Python SDK supports Python 3.7, 3.8, 3.9 and 3.10. Beam 2.38.0 was the last release with support for Python 3.6. ## Set up your environment