This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git
The following commit(s) were added to refs/heads/main by this push:
new 786d91a8 chore(deps): replace golang/snappy with
klauspost/compress/snappy (#762)
786d91a8 is described below
commit 786d91a8f4249137614eb6e25f745b1ea1012e06
Author: Sebastiaan van Stijn <[email protected]>
AuthorDate: Mon Apr 13 01:04:48 2026 +0200
chore(deps): replace golang/snappy with klauspost/compress/snappy (#762)
The github.com/golang/snappy repository was archived and is no longer
maintained. klauspost/compress provides a drop-in replacement, which is
actively maintained, and the klauspost/compress module is already an
existing dependency.
### Rationale for this change
### What changes are included in this PR?
### Are these changes tested?
### Are there any user-facing changes?
Signed-off-by: Sebastiaan van Stijn <[email protected]>
---
go.mod | 2 +-
parquet/compress/snappy.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/go.mod b/go.mod
index 555f423c..3bc2af42 100644
--- a/go.mod
+++ b/go.mod
@@ -24,7 +24,6 @@ require (
github.com/cespare/xxhash/v2 v2.3.0
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
github.com/goccy/go-json v0.10.6
- github.com/golang/snappy v1.0.0
github.com/google/flatbuffers v25.12.19+incompatible
github.com/google/uuid v1.6.0
github.com/hamba/avro/v2 v2.31.0
@@ -66,6 +65,7 @@ require (
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/goccy/go-yaml v1.17.1 // indirect
+ github.com/golang/snappy v1.0.0 // indirect
github.com/gookit/color v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kr/text v0.2.0 // indirect
diff --git a/parquet/compress/snappy.go b/parquet/compress/snappy.go
index 5c82a2c8..00e028b7 100644
--- a/parquet/compress/snappy.go
+++ b/parquet/compress/snappy.go
@@ -19,7 +19,7 @@ package compress
import (
"io"
- "github.com/golang/snappy"
+ "github.com/klauspost/compress/snappy"
)
type snappyCodec struct{}