This is an automated email from the ASF dual-hosted git repository.
lostluck 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 7da6c89592b [Go] Update Go version used by Beam repo to go1.23.1
(#32575)
7da6c89592b is described below
commit 7da6c89592b6a991ec81997c67638d222584f257
Author: Robert Burke <[email protected]>
AuthorDate: Mon Sep 30 12:45:03 2024 -0700
[Go] Update Go version used by Beam repo to go1.23.1 (#32575)
* Update Go version used by Beam repo.
* update release docker in docker container
* update CHANGES.md with this note
---------
Co-authored-by: lostluck <[email protected]>
---
.github/actions/setup-default-test-properties/test-properties.json | 2 +-
.github/actions/setup-environment-action/action.yml | 2 +-
.github/gh-actions-self-hosted-runners/arc/images/Dockerfile | 2 +-
.github/workflows/build_release_candidate.yml | 2 +-
CHANGES.md | 3 +++
.../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 2 +-
dev-support/docker/Dockerfile | 2 +-
release/src/main/Dockerfile | 4 ++--
sdks/go/run_with_go_version.sh | 2 +-
9 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/.github/actions/setup-default-test-properties/test-properties.json
b/.github/actions/setup-default-test-properties/test-properties.json
index a11af748efe..098e4ca1935 100644
--- a/.github/actions/setup-default-test-properties/test-properties.json
+++ b/.github/actions/setup-default-test-properties/test-properties.json
@@ -18,6 +18,6 @@
"SPARK_VERSIONS": ["2", "3"]
},
"GoTestProperties": {
- "SUPPORTED_VERSIONS": ["1.22"]
+ "SUPPORTED_VERSIONS": ["1.23"]
}
}
diff --git a/.github/actions/setup-environment-action/action.yml
b/.github/actions/setup-environment-action/action.yml
index 2da2cf0becd..72246566290 100644
--- a/.github/actions/setup-environment-action/action.yml
+++ b/.github/actions/setup-environment-action/action.yml
@@ -57,5 +57,5 @@ runs:
if: ${{ inputs.go-version != '' }}
uses: actions/setup-go@v5
with:
- go-version: ${{ inputs.go-version == 'default' && '1.22' ||
inputs.go-version }} # never set patch, to get latest patch releases.
+ go-version: ${{ inputs.go-version == 'default' && '1.23' ||
inputs.go-version }} # never set patch, to get latest patch releases.
cache-dependency-path: $${{ inputs.disable-cache && '' ||
'sdks/go.sum' }}
diff --git a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
index c1c1955a217..84117c2c07e 100644
--- a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
+++ b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
@@ -31,7 +31,7 @@ RUN curl -OL
https://nodejs.org/dist/v18.16.0/node-v18.16.0-linux-x64.tar.xz &&
mv /usr/local/node-v18.16.0-linux-x64 /usr/local/node
ENV PATH="${PATH}:/usr/local/node/bin"
#Install Go
-ARG go_version=1.22.5
+ARG go_version=1.23.1
RUN curl -OL https://go.dev/dl/go${go_version}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${go_version}.linux-amd64.tar.gz && \
rm go${go_version}.linux-amd64.tar.gz
diff --git a/.github/workflows/build_release_candidate.yml
b/.github/workflows/build_release_candidate.yml
index ec65ae99072..d2bd863483f 100644
--- a/.github/workflows/build_release_candidate.yml
+++ b/.github/workflows/build_release_candidate.yml
@@ -433,7 +433,7 @@ jobs:
fi
- uses: actions/setup-go@v5
with:
- go-version: '1.22'
+ go-version: '1.23'
- name: Import GPG key
id: import_gpg
uses:
crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549
diff --git a/CHANGES.md b/CHANGES.md
index 7c377648c11..e7b26851f99 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -64,6 +64,9 @@
* Dataflow worker can install packages from Google Artifact Registry Python
repositories (Python) ([#32123](https://github.com/apache/beam/issues/32123)).
* Added support for Zstd codec in SerializableAvroCodecFactory (Java)
([#32349](https://github.com/apache/beam/issues/32349))
* Added support for using vLLM in the RunInference transform (Python)
([#32528](https://github.com/apache/beam/issues/32528))
+* Prism release binaries and container bootloaders are now being built with
the latest Go 1.23 patch. ([#32575](https://github.com/apache/beam/pull/32575))
+* Prism
+ * Prism now supports Bundle Finalization.
([#32425](https://github.com/apache/beam/pull/32425))
* Significantly improved performance of Kafka IO reads that enable
[commitOffsetsInFinalize](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/kafka/KafkaIO.Read.html#commitOffsetsInFinalize--)
by removing the data reshuffle from SDF implementation.
([#31682](https://github.com/apache/beam/pull/31682)).
## Breaking Changes
diff --git
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index a334cf3191f..452a3a70cbd 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -2221,7 +2221,7 @@ class BeamModulePlugin implements Plugin<Project> {
// This sets the whole project Go version.
// The latest stable Go version can be checked at https://go.dev/dl/
- project.ext.goVersion = "go1.22.5"
+ project.ext.goVersion = "go1.23.1"
// Minor TODO: Figure out if we can pull out the GOCMD env variable
after goPrepare script
// completion, and avoid this GOBIN substitution.
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index d7887561b71..b5b1d01b39c 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -78,7 +78,7 @@ RUN pip3 install distlib==0.3.1 yapf==0.29.0 pytest
###
# Install Go
###
-ENV DOWNLOAD_GO_VERSION=1.22.5
+ENV DOWNLOAD_GO_VERSION=1.23.1
RUN wget https://golang.org/dl/go${DOWNLOAD_GO_VERSION}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${DOWNLOAD_GO_VERSION}.linux-amd64.tar.gz
ENV GOROOT /usr/local/go
diff --git a/release/src/main/Dockerfile b/release/src/main/Dockerfile
index 8f981fddfcd..14fe6fdb5a4 100644
--- a/release/src/main/Dockerfile
+++ b/release/src/main/Dockerfile
@@ -51,8 +51,8 @@ RUN curl https://pyenv.run | bash && \
# Install a Go version >= 1.16 so we can bootstrap higher
# Go versions
-RUN wget https://golang.org/dl/go1.17.linux-amd64.tar.gz && \
- tar -zxvf go1.17.linux-amd64.tar.gz -C /usr/local/ && \
+RUN wget https://golang.org/dl/go1.23.1.linux-amd64.tar.gz && \
+ tar -zxvf go1.23.1.linux-amd64.tar.gz -C /usr/local/ && \
echo "export PATH=/usr/local/go/bin:${PATH}" | tee /etc/profile.d/go.sh &&
\
chmod a+x "/etc/profile.d/go.sh" && \
source "/etc/profile.d/go.sh"
diff --git a/sdks/go/run_with_go_version.sh b/sdks/go/run_with_go_version.sh
index 2e542821969..f7def520935 100755
--- a/sdks/go/run_with_go_version.sh
+++ b/sdks/go/run_with_go_version.sh
@@ -37,7 +37,7 @@ set -e
#
# This variable is also used as the execution command downscript.
# The list of downloadable versions are at https://go.dev/dl/
-GOVERS=go1.22.5
+GOVERS=go1.23.1
if ! command -v go &> /dev/null
then