This is an automated email from the ASF dual-hosted git repository. vterentev pushed a commit to branch fix-push-images in repository https://gitbox.apache.org/repos/asf/beam.git
commit d40da985458c67e64921fde1bd5e33612a8bbbcc Author: Vitaly Terentyev <[email protected]> AuthorDate: Mon Dec 1 19:03:25 2025 +0400 Remove python 3.9 --- .github/workflows/build_release_candidate.yml | 1 - .github/workflows/republish_released_docker_containers.yml | 2 +- release/src/main/scripts/run_rc_validation.sh | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_release_candidate.yml b/.github/workflows/build_release_candidate.yml index 88ad95701b6..88f7e220788 100644 --- a/.github/workflows/build_release_candidate.yml +++ b/.github/workflows/build_release_candidate.yml @@ -260,7 +260,6 @@ jobs: # tasks as they are added. images_to_publish: [ {"gradle_task": ":pushAllRunnersDockerImages", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, - {"gradle_task": ":sdks:python:container:push39", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, {"gradle_task": ":sdks:python:container:push310", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, {"gradle_task": ":sdks:python:container:push311", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, {"gradle_task": ":sdks:python:container:push312", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, diff --git a/.github/workflows/republish_released_docker_containers.yml b/.github/workflows/republish_released_docker_containers.yml index 96feb6cd128..a9d043bec75 100644 --- a/.github/workflows/republish_released_docker_containers.yml +++ b/.github/workflows/republish_released_docker_containers.yml @@ -47,7 +47,6 @@ jobs: # tasks as they are added. images_to_publish: [ {"gradle_task": ":pushAllRunnersDockerImages", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, - {"gradle_task": ":sdks:python:container:push39", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, {"gradle_task": ":sdks:python:container:push310", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, {"gradle_task": ":sdks:python:container:push311", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, {"gradle_task": ":sdks:python:container:push312", "include_skip_flags": "-Pinclude-ml -Pinclude-distroless"}, @@ -93,6 +92,7 @@ jobs: run: | ./gradlew ${{ matrix.images_to_publish.gradle_task }} \ -PisRelease \ + -PpythonVersion=3.10 \ -Pdocker-pull-licenses \ -Pprune-images ${{ matrix.images_to_publish.include_skip_flags }} \ -Pdocker-repository-root=gcr.io/apache-beam-testing/updated_released_container_images \ diff --git a/release/src/main/scripts/run_rc_validation.sh b/release/src/main/scripts/run_rc_validation.sh index 9c93ed4ef4d..62f79c7ee62 100755 --- a/release/src/main/scripts/run_rc_validation.sh +++ b/release/src/main/scripts/run_rc_validation.sh @@ -99,7 +99,7 @@ HUB_VERSION=2.12.0 HUB_ARTIFACTS_NAME=hub-linux-amd64-${HUB_VERSION} BACKUP_BASHRC=.bashrc_backup_$(date +"%Y%m%d%H%M%S") BACKUP_M2=settings_backup_$(date +"%Y%m%d%H%M%S").xml -declare -a PYTHON_VERSIONS_TO_VALIDATE=("python3.9") +declare -a PYTHON_VERSIONS_TO_VALIDATE=("python3.10") echo "" echo "====================Checking Environment & Variables=================" echo "PLEASE update RC_VALIDATE_CONFIGS in file script.config first." @@ -604,7 +604,7 @@ if [[ ("$python_xlang_quickstart" = true) \ PYTHON_MULTILANG_QUICKSTART_OUTPUT_FILE_NAME=${PYTHON_MULTILANG_QUICKSTART_FILE_PREFIX}_output PYTHON_MULTILANG_QUICKSTART_EXPECTED_OUTPUT_FILE_NAME=${PYTHON_MULTILANG_QUICKSTART_FILE_PREFIX}_expected_output PYTHON_MULTILANG_QUICKSTART_SORTED_OUTPUT_FILE_NAME=${PYTHON_MULTILANG_QUICKSTART_FILE_PREFIX}_sorted_output - + # Cleaning up data from any previous runs. rm ${PYTHON_MULTILANG_QUICKSTART_FILE_PREFIX}* rm ./beam-examples-multi-language-${RELEASE_VER}.jar @@ -624,7 +624,7 @@ if [[ ("$python_xlang_quickstart" = true) \ # Downloading the expansion service jar. wget ${REPO_URL}/org/apache/beam/beam-examples-multi-language/${RELEASE_VER}/beam-examples-multi-language-${RELEASE_VER}.jar JAVA_EXPANSION_SERVICE_PORT=33333 - + # Starting up the expansion service in a seperate shell. echo "A new terminal will pop up and start a java expansion service." gnome-terminal -x sh -c \ @@ -746,7 +746,7 @@ if [[ ("$java_xlang_quickstart" = true) \ --expansionService=localhost:${PYTHON_EXPANSION_SERVICE_PORT} \ --output=${JAVA_MULTILANG_QUICKSTART_OUTPUT_FILE_NAME}" - # We cannot validate local output since + # We cannot validate local output since # TODO: Write output to GCS and validate when Python portable runner can forward credentials to GCS appropriately. java_xlang_quickstart_status=$?
