Skip to content

Commit 50543c5

Browse files
authored
chore: bump steampipe-plugin-sdk to v6.0.0 (#126)
* chore: bump steampipe-plugin-sdk to v6.0.0 Mechanical v5 to v6 sweep across the steampipe-sqlite-extension Go module and the per-plugin static-link templates. Unblocks the Build SQLite Extension matrix jobs in Steampipe Anywhere releases for SDK-v6 plugins (currently aws v1.30.3; gcp pending in steampipe-plugin-gcp#824). No behaviour change. Go directive bumped 1.24 to 1.26 to meet the v6 requirement. templates/go.mod.tmpl also bumped go 1.22 to 1.26 to match. go mod tidy rolled transitive github.com/turbot/go-kit v1.0.0 to v1.1.0 (SDK v6 pin). * ci: pin chaos plugin to v2.0.3 (v6 SDK) in build smoke test Same fix as steampipe-export — bare 'make build plugin=chaos' resolves github.com/turbot/steampipe-plugin-chaos@latest to v1.2.4 (the latest non-/v2 tag, still on SDK v5), which fails to compile against this repo's v6 import. Pinning plugin_version=v2.0.3 routes through the /v2 module path (chaos was tagged v2.0.3 today with the v6 SDK). * ci: also pass plugin_github_url for chaos build smoke test Same fix as steampipe-export — Makefile requires plugin_github_url when plugin_version is specified, and my prior fixup only set plugin_version=v2.0.3.
1 parent 51d39d2 commit 50543c5

13 files changed

Lines changed: 770 additions & 202 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Test building sqlite extension with chaos plugin
4242
run: |
43-
make build plugin=chaos
43+
make build plugin=chaos plugin_version=v2.0.3 plugin_github_url=github.com/turbot/steampipe-plugin-chaos
4444
4545
- name: Check binary is created
4646
run: |

configure_fn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"log"
77

8-
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
8+
"github.com/turbot/steampipe-plugin-sdk/v6/grpc/proto"
99
"go.riyazali.net/sqlite"
1010
)
1111

cursor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"encoding/json"
66
"log"
77

8-
"github.com/turbot/steampipe-plugin-sdk/v5/anywhere"
9-
"github.com/turbot/steampipe-plugin-sdk/v5/grpc"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
8+
"github.com/turbot/steampipe-plugin-sdk/v6/anywhere"
9+
"github.com/turbot/steampipe-plugin-sdk/v6/grpc"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/grpc/proto"
1111
"go.riyazali.net/sqlite"
1212
)
1313

go.mod

Lines changed: 16 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
module steampipe-sqlite-extension
22

3-
go 1.24
4-
5-
toolchain go1.24.0
3+
go 1.26.0
64

75
require (
86
github.com/hashicorp/go-hclog v1.6.3
9-
github.com/turbot/go-kit v1.0.0
10-
github.com/turbot/steampipe-plugin-sdk/v5 v5.11.3
7+
github.com/turbot/go-kit v1.1.0
8+
github.com/turbot/steampipe-plugin-sdk/v6 v6.0.0
119
go.riyazali.net/sqlite v0.0.0-20230816114005-832d6b745bcd
1210
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
1311
google.golang.org/protobuf v1.34.2
@@ -18,24 +16,18 @@ require (
1816
cloud.google.com/go/compute/metadata v0.3.0 // indirect
1917
cloud.google.com/go/iam v1.1.6 // indirect
2018
cloud.google.com/go/storage v1.38.0 // indirect
21-
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
22-
github.com/Masterminds/semver/v3 v3.2.1 // indirect
23-
github.com/Microsoft/hcsshim v0.11.5 // indirect
2419
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
2520
github.com/agext/levenshtein v1.2.3 // indirect
2621
github.com/allegro/bigcache/v3 v3.1.0 // indirect
2722
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
2823
github.com/aws/aws-sdk-go v1.44.189 // indirect
2924
github.com/beorn7/perks v1.0.1 // indirect
3025
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
31-
github.com/briandowns/spinner v1.23.0 // indirect
3226
github.com/btubbs/datetime v0.1.1 // indirect
3327
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3428
github.com/cespare/xxhash/v2 v2.3.0 // indirect
35-
github.com/containerd/containerd v1.7.18 // indirect
36-
github.com/containerd/errdefs v0.1.0 // indirect
37-
github.com/containerd/log v0.1.0 // indirect
3829
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect
30+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3931
github.com/dgraph-io/ristretto v0.2.0 // indirect
4032
github.com/dustin/go-humanize v1.0.1 // indirect
4133
github.com/eko/gocache/lib/v4 v4.1.6 // indirect
@@ -44,15 +36,10 @@ require (
4436
github.com/fatih/color v1.17.0 // indirect
4537
github.com/felixge/httpsnoop v1.0.4 // indirect
4638
github.com/fsnotify/fsnotify v1.7.0 // indirect
47-
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
4839
github.com/gertd/go-pluralize v0.2.1 // indirect
4940
github.com/ghodss/yaml v1.0.0 // indirect
5041
github.com/go-logr/logr v1.4.1 // indirect
5142
github.com/go-logr/stdr v1.2.2 // indirect
52-
github.com/go-ole/go-ole v1.2.6 // indirect
53-
github.com/go-playground/locales v0.14.1 // indirect
54-
github.com/go-playground/universal-translator v0.18.1 // indirect
55-
github.com/go-playground/validator/v10 v10.20.0 // indirect
5643
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
5744
github.com/golang/mock v1.6.0 // indirect
5845
github.com/golang/protobuf v1.5.4 // indirect
@@ -62,28 +49,16 @@ require (
6249
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
6350
github.com/googleapis/gax-go/v2 v2.12.3 // indirect
6451
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
65-
github.com/hashicorp/errwrap v1.1.0 // indirect
6652
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
67-
github.com/hashicorp/go-getter v1.7.5 // indirect
68-
github.com/hashicorp/go-multierror v1.1.1 // indirect
53+
github.com/hashicorp/go-getter v1.7.9 // indirect
6954
github.com/hashicorp/go-plugin v1.6.1 // indirect
7055
github.com/hashicorp/go-safetemp v1.0.0 // indirect
7156
github.com/hashicorp/go-version v1.7.0 // indirect
7257
github.com/hashicorp/hcl/v2 v2.20.1 // indirect
7358
github.com/hashicorp/yamux v0.1.1 // indirect
7459
github.com/iancoleman/strcase v0.3.0 // indirect
75-
github.com/inconshreveable/mousetrap v1.1.0 // indirect
76-
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
77-
github.com/jackc/pgconn v1.14.3 // indirect
78-
github.com/jackc/pgio v1.0.0 // indirect
79-
github.com/jackc/pgpassfile v1.0.0 // indirect
80-
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
81-
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
8260
github.com/jmespath/go-jmespath v0.4.0 // indirect
83-
github.com/karrick/gows v0.3.0 // indirect
8461
github.com/klauspost/compress v1.17.2 // indirect
85-
github.com/leodido/go-urn v1.4.0 // indirect
86-
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
8762
github.com/mattn/go-colorable v0.1.13 // indirect
8863
github.com/mattn/go-isatty v0.0.20 // indirect
8964
github.com/mattn/go-pointer v0.0.1 // indirect
@@ -93,33 +68,20 @@ require (
9368
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
9469
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
9570
github.com/mitchellh/mapstructure v1.5.0 // indirect
96-
github.com/moby/locker v1.0.1 // indirect
9771
github.com/oklog/run v1.0.0 // indirect
9872
github.com/olekukonko/tablewriter v0.0.5 // indirect
99-
github.com/opencontainers/go-digest v1.0.0 // indirect
100-
github.com/opencontainers/image-spec v1.1.0 // indirect
10173
github.com/pkg/errors v0.9.1 // indirect
74+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
10275
github.com/prometheus/client_golang v1.14.0 // indirect
10376
github.com/prometheus/client_model v0.3.0 // indirect
10477
github.com/prometheus/common v0.37.0 // indirect
10578
github.com/prometheus/procfs v0.8.0 // indirect
10679
github.com/rivo/uniseg v0.2.0 // indirect
107-
github.com/rs/xid v1.5.0 // indirect
108-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
10980
github.com/sethvargo/go-retry v0.2.4 // indirect
110-
github.com/shiena/ansicolor v0.0.0-20230509054315-a9deabde6e02 // indirect
111-
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
112-
github.com/sirupsen/logrus v1.9.3 // indirect
113-
github.com/spf13/cobra v1.8.1 // indirect
114-
github.com/spf13/pflag v1.0.5 // indirect
11581
github.com/stevenle/topsort v0.2.0 // indirect
116-
github.com/tklauser/go-sysconf v0.3.9 // indirect
117-
github.com/tklauser/numcpus v0.3.0 // indirect
82+
github.com/stretchr/testify v1.10.0 // indirect
11883
github.com/tkrajina/go-reflector v0.5.6 // indirect
119-
github.com/turbot/pipe-fittings/v2 v2.1.1 // indirect
120-
github.com/turbot/terraform-components v0.0.0-20231213122222-1f3526cab7a7 // indirect
121-
github.com/ulikunitz/xz v0.5.10 // indirect
122-
github.com/yusufpapurcu/wmi v1.2.2 // indirect
84+
github.com/ulikunitz/xz v0.5.15 // indirect
12385
github.com/zclconf/go-cty v1.14.4 // indirect
12486
go.opencensus.io v0.24.0 // indirect
12587
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
@@ -133,21 +95,19 @@ require (
13395
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
13496
go.opentelemetry.io/otel/trace v1.26.0 // indirect
13597
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
136-
golang.org/x/crypto v0.31.0 // indirect
137-
golang.org/x/mod v0.19.0 // indirect
138-
golang.org/x/net v0.33.0 // indirect
139-
golang.org/x/oauth2 v0.21.0 // indirect
140-
golang.org/x/sync v0.10.0 // indirect
141-
golang.org/x/sys v0.28.0 // indirect
142-
golang.org/x/term v0.27.0 // indirect
143-
golang.org/x/text v0.21.0 // indirect
98+
golang.org/x/crypto v0.45.0 // indirect
99+
golang.org/x/mod v0.29.0 // indirect
100+
golang.org/x/net v0.47.0 // indirect
101+
golang.org/x/oauth2 v0.27.0 // indirect
102+
golang.org/x/sync v0.18.0 // indirect
103+
golang.org/x/sys v0.38.0 // indirect
104+
golang.org/x/text v0.31.0 // indirect
144105
golang.org/x/time v0.5.0 // indirect
145-
golang.org/x/tools v0.23.0 // indirect
106+
golang.org/x/tools v0.38.0 // indirect
146107
google.golang.org/api v0.171.0 // indirect
147108
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
148109
google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect
149110
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
150111
google.golang.org/grpc v1.66.0 // indirect
151112
gopkg.in/yaml.v2 v2.4.0 // indirect
152-
oras.land/oras-go/v2 v2.5.0 // indirect
153113
)

0 commit comments

Comments
 (0)