This is an automated email from the ASF dual-hosted git repository.
tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new bb4c1e6ded5 Include Python 3.12 in release validation steps. (#31415)
bb4c1e6ded5 is described below
commit bb4c1e6ded54550f9d9e87ad3083ef341bfdac39
Author: tvalentyn <[email protected]>
AuthorDate: Tue May 28 10:25:16 2024 -0700
Include Python 3.12 in release validation steps. (#31415)
---
release/src/main/Dockerfile | 7 ++++---
release/src/main/python-release/python_release_automation.sh | 2 +-
release/src/main/scripts/build_release_candidate.sh | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/release/src/main/Dockerfile b/release/src/main/Dockerfile
index 62d389889ea..8f981fddfcd 100644
--- a/release/src/main/Dockerfile
+++ b/release/src/main/Dockerfile
@@ -33,9 +33,9 @@ RUN apt-get update && \
RUN apt-get install -y build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev llvm \
libncurses5-dev libncursesw5-dev xz-utils tk-dev \
- libffi-dev liblzma-dev python3-openssl
+ libffi-dev liblzma-dev python3-openssl
-# Install pyenv and install all of the Python versions
+# Install pyenv and install all of the Python versions
# needed to build containers
RUN curl https://pyenv.run | bash && \
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> /root/.bashrc && \
@@ -46,7 +46,8 @@ RUN curl https://pyenv.run | bash && \
pyenv install 3.9.4 && \
pyenv install 3.10.7 && \
pyenv install 3.11.3 && \
- pyenv global 3.8.9 3.9.4 3.10.7 3.11.3
+ pyenv install 3.12.3 && \
+ pyenv global 3.8.9 3.9.4 3.10.7 3.11.3 3.12.3
# Install a Go version >= 1.16 so we can bootstrap higher
# Go versions
diff --git a/release/src/main/python-release/python_release_automation.sh
b/release/src/main/python-release/python_release_automation.sh
index e245406b57d..2f6986885a9 100755
--- a/release/src/main/python-release/python_release_automation.sh
+++ b/release/src/main/python-release/python_release_automation.sh
@@ -19,7 +19,7 @@
source
release/src/main/python-release/run_release_candidate_python_quickstart.sh
source
release/src/main/python-release/run_release_candidate_python_mobile_gaming.sh
-for version in 3.8 3.9 3.10 3.11
+for version in 3.8 3.9 3.10 3.11 3.12
do
run_release_candidate_python_quickstart "tar" "python${version}"
run_release_candidate_python_mobile_gaming "tar" "python${version}"
diff --git a/release/src/main/scripts/build_release_candidate.sh
b/release/src/main/scripts/build_release_candidate.sh
index 81425f46ed5..8d37b53d372 100755
--- a/release/src/main/scripts/build_release_candidate.sh
+++ b/release/src/main/scripts/build_release_candidate.sh
@@ -348,7 +348,7 @@ if [[ $confirmation = "y" ]]; then
cd ${BEAM_ROOT_DIR}
RELEASE_COMMIT=$(git rev-list -n 1 "tags/${RC_TAG}")
# TODO(https://github.com/apache/beam/issues/20209): Don't hardcode py
version in this file.
- cd sdks/python && tox -e py38-docs
+ cd sdks/python && tox -e docs
GENERATED_PYDOC=~/${LOCAL_WEBSITE_UPDATE_DIR}/${LOCAL_PYTHON_DOC}/${BEAM_ROOT_DIR}/sdks/python/target/docs/_build
rm -rf ${GENERATED_PYDOC}/.doctrees