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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 6365d73ca chore(go): bump go toolchain to 1.26.9 (#4894)
6365d73ca is described below

commit 6365d73ca0a9ce194d78fecb520484d78fbed950
Author: David Li <[email protected]>
AuthorDate: Thu Oct 15 16:16:06 2026 -0700

    chore(go): bump go toolchain to 1.26.9 (#4894)
---
 .env                                    | 2 +-
 dev/release/verify-release-candidate.sh | 2 +-
 go/adbc/go.mod                          | 2 +-
 go/driver/go.mod                        | 2 +-
 r/adbcflightsql/configure               | 2 +-
 r/adbcflightsql/src/Makevars.in         | 3 ++-
 6 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.env b/.env
index ba14e8ed1..95755f167 100644
--- a/.env
+++ b/.env
@@ -33,7 +33,7 @@ MANYLINUX=2_28
 MAVEN=3.9.10
 PLATFORM=linux/amd64
 PYTHON=3.13
-GO=1.26.8
+GO=1.26.9
 ARROW_MAJOR_VERSION=18
 DOTNET=10.0
 
diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
index a5ff80770..ccdd8326e 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -297,7 +297,7 @@ install_go() {
     return 0
   fi
 
-  local version=1.26.8
+  local version=1.26.9
   show_info "Installing go version ${version}..."
 
   local arch="$(uname -m)"
diff --git a/go/adbc/go.mod b/go/adbc/go.mod
index e82fcdec0..8541cd2a0 100644
--- a/go/adbc/go.mod
+++ b/go/adbc/go.mod
@@ -20,7 +20,7 @@ module github.com/apache/arrow-adbc/go/adbc
 go 1.26.0
 
 // Require the latest Go 1.26 to build to pick up CVE fixes in Go itself.
-toolchain go1.26.8
+toolchain go1.26.9
 
 require (
        github.com/apache/arrow-go/v18 v18.8.0
diff --git a/go/driver/go.mod b/go/driver/go.mod
index 2050d6191..2e1ad19c2 100644
--- a/go/driver/go.mod
+++ b/go/driver/go.mod
@@ -19,7 +19,7 @@ module github.com/apache/arrow-adbc/go/driver
 
 go 1.26.0
 
-toolchain go1.26.8
+toolchain go1.26.9
 
 require (
        github.com/apache/arrow-adbc/go/adbc v1.12.0
diff --git a/r/adbcflightsql/configure b/r/adbcflightsql/configure
index 22fd1a277..a88311296 100755
--- a/r/adbcflightsql/configure
+++ b/r/adbcflightsql/configure
@@ -117,7 +117,7 @@ fi
 PKG_LIBS="$PKG_LIBS $SYMBOL_ARGS"
 
 sed \
-  -e "s|@gobin@|$GO_BIN|" \
+  -e "s|@gobin@|$GO_BIN|g" \
   -e "s|@libs@|$PKG_LIBS|" \
   -e "s|@cc@|$CC|" \
   -e "s|@cxx@|$CXX|" \
diff --git a/r/adbcflightsql/src/Makevars.in b/r/adbcflightsql/src/Makevars.in
index 361a46919..d39a69a84 100644
--- a/r/adbcflightsql/src/Makevars.in
+++ b/r/adbcflightsql/src/Makevars.in
@@ -33,5 +33,6 @@ $(SHLIB): gostatic
 purify: $(SHLIB)
        rm -Rf "$(CURDIR)/go/libadbc_driver_flightsql.a"
 
+# run "go mod tidy" since we rewrite the go.mod as part of vendoring Go sources
 gostatic:
-               (cd "$(CURDIR)/go/driver/flightsql"; GOMAXPROCS=$(GOMAXPROCS) 
GOPATH="$(CURDIR)/.go-path" GOCACHE="$(CURDIR)/.go-cache" GOFLAGS=-modcacherw 
CC="$(CGO_CC)" CXX="$(CGO_CXX)" CGO_CFLAGS="$(CGO_CFLAGS)" 
CGO_LDFLAGS="$(PKG_LIBS)" "@gobin@" build -v -tags driverlib -o 
$(CURDIR)/go/libadbc_driver_flightsql.a -buildmode=c-archive "./pkg")
+               (cd "$(CURDIR)/go/driver/flightsql"; "@gobin@" mod tidy; 
GOMAXPROCS=$(GOMAXPROCS) GOPATH="$(CURDIR)/.go-path" 
GOCACHE="$(CURDIR)/.go-cache" GOFLAGS=-modcacherw CC="$(CGO_CC)" 
CXX="$(CGO_CXX)" CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(PKG_LIBS)" "@gobin@" 
build -v -tags driverlib -o $(CURDIR)/go/libadbc_driver_flightsql.a 
-buildmode=c-archive "./pkg")

Reply via email to