Skip to content

Commit 326eedc

Browse files
committed
Update Flyte to Go 1.24
Signed-off-by: Jason Parraga <[email protected]>
1 parent 6f405fa commit 326eedc

File tree

262 files changed

+504
-463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+504
-463
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG FLYTECONSOLE_VERSION=latest
22
FROM ghcr.io/flyteorg/flyteconsole:${FLYTECONSOLE_VERSION} AS flyteconsole
33

44

5-
FROM --platform=${BUILDPLATFORM} golang:1.23-bookworm AS flytebuilder
5+
FROM --platform=${BUILDPLATFORM} golang:1.24-bookworm AS flytebuilder
66

77
ARG TARGETARCH
88
ENV GOARCH="${TARGETARCH}"

Dockerfile.datacatalog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst
55

6-
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
6+
FROM --platform=${BUILDPLATFORM} golang:1.24-alpine3.21 AS builder
77

88

99
ARG TARGETARCH

Dockerfile.flyteadmin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst
55

6-
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
6+
FROM --platform=${BUILDPLATFORM} golang:1.24-alpine3.21 AS builder
77

88
ARG TARGETARCH
99
ENV GOARCH="${TARGETARCH}"

Dockerfile.flytecopilot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst
55

6-
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
6+
FROM --platform=${BUILDPLATFORM} golang:1.24-alpine3.21 AS builder
77

88

99
ARG TARGETARCH

Dockerfile.flytepropeller

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst
55

66

7-
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
7+
FROM --platform=${BUILDPLATFORM} golang:1.24-alpine3.21 AS builder
88

99

1010
ARG TARGETARCH

Dockerfile.flytescheduler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst
55

66

7-
FROM --platform=${BUILDPLATFORM} golang:1.23-alpine3.21 AS builder
7+
FROM --platform=${BUILDPLATFORM} golang:1.24-alpine3.21 AS builder
88

99

1010
ARG TARGETARCH

boilerplate/flyte/golang_support_tools/go.mod

Lines changed: 46 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
module github.com/flyteorg/boilerplate
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
66
github.com/alvaroloes/enumer v1.1.2
77
github.com/flyteorg/flyte/flytestdlib v1.11.0
88
github.com/golangci/golangci-lint v1.61.0
99
github.com/pseudomuto/protoc-gen-doc v1.4.1
10-
github.com/vektra/mockery/v2 v2.52.1
10+
github.com/vektra/mockery/v2 v2.53.5
1111
)
1212

1313
require (
1414
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
1515
4d63.com/gochecknoglobals v0.2.1 // indirect
16-
cloud.google.com/go v0.115.1 // indirect
17-
cloud.google.com/go/auth v0.9.3 // indirect
18-
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
19-
cloud.google.com/go/compute/metadata v0.5.0 // indirect
20-
cloud.google.com/go/iam v1.2.0 // indirect
21-
cloud.google.com/go/storage v1.43.0 // indirect
16+
cel.dev/expr v0.16.1 // indirect
17+
cloud.google.com/go v0.116.0 // indirect
18+
cloud.google.com/go/auth v0.13.0 // indirect
19+
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
20+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
21+
cloud.google.com/go/iam v1.2.2 // indirect
22+
cloud.google.com/go/monitoring v1.21.2 // indirect
23+
cloud.google.com/go/storage v1.49.0 // indirect
2224
github.com/4meepo/tagalign v1.3.4 // indirect
2325
github.com/Abirdcfly/dupword v0.1.1 // indirect
2426
github.com/Antonboom/errname v0.1.13 // indirect
@@ -33,6 +35,9 @@ require (
3335
github.com/Crocmagnon/fatcontext v0.5.2 // indirect
3436
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
3537
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 // indirect
38+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 // indirect
39+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 // indirect
40+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 // indirect
3641
github.com/Masterminds/semver v1.5.0 // indirect
3742
github.com/Masterminds/semver/v3 v3.3.0 // indirect
3843
github.com/Masterminds/sprig v2.15.0+incompatible // indirect
@@ -55,19 +60,22 @@ require (
5560
github.com/butuzov/mirror v1.2.0 // indirect
5661
github.com/catenacyber/perfsprint v0.7.1 // indirect
5762
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
63+
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
5864
github.com/cespare/xxhash v1.1.0 // indirect
5965
github.com/cespare/xxhash/v2 v2.3.0 // indirect
6066
github.com/charithe/durationcheck v0.0.10 // indirect
6167
github.com/chavacava/garif v0.1.0 // indirect
6268
github.com/chigopher/pathlib v0.19.1 // indirect
6369
github.com/ckaznocha/intrange v0.2.0 // indirect
70+
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
6471
github.com/coocood/freecache v1.1.1 // indirect
6572
github.com/curioswitch/go-reassign v0.2.0 // indirect
6673
github.com/daixiang0/gci v0.13.5 // indirect
67-
github.com/davecgh/go-spew v1.1.1 // indirect
74+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6875
github.com/denis-tingaikin/go-header v0.5.0 // indirect
6976
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
70-
github.com/envoyproxy/protoc-gen-validate v1.0.4 // indirect
77+
github.com/envoyproxy/go-control-plane v0.13.1 // indirect
78+
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
7179
github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607 // indirect
7280
github.com/ettle/strcase v0.2.0 // indirect
7381
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
@@ -76,7 +84,7 @@ require (
7684
github.com/felixge/httpsnoop v1.0.4 // indirect
7785
github.com/firefart/nonamedreturns v1.0.5 // indirect
7886
github.com/flyteorg/stow v0.3.10 // indirect
79-
github.com/fsnotify/fsnotify v1.6.0 // indirect
87+
github.com/fsnotify/fsnotify v1.8.0 // indirect
8088
github.com/fzipp/gocyclo v0.6.0 // indirect
8189
github.com/ghodss/yaml v1.0.0 // indirect
8290
github.com/ghostiam/protogetter v0.3.6 // indirect
@@ -113,23 +121,22 @@ require (
113121
github.com/google/gofuzz v1.2.0 // indirect
114122
github.com/google/s2a-go v0.1.8 // indirect
115123
github.com/google/uuid v1.6.0 // indirect
116-
github.com/googleapis/enterprise-certificate-proxy v0.3.3 // indirect
117-
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
124+
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
125+
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
118126
github.com/gordonklaus/ineffassign v0.1.0 // indirect
119127
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
120128
github.com/gostaticanalysis/comment v1.4.2 // indirect
121129
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
122130
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
123131
github.com/hashicorp/go-version v1.7.0 // indirect
124-
github.com/hashicorp/hcl v1.0.0 // indirect
125132
github.com/hexops/gotextdiff v1.0.3 // indirect
126133
github.com/huandu/xstrings v1.4.0 // indirect
127134
github.com/iancoleman/strcase v0.3.0 // indirect
128135
github.com/imdario/mergo v0.3.6 // indirect
129136
github.com/inconshreveable/mousetrap v1.1.0 // indirect
130137
github.com/jgautheron/goconst v1.7.1 // indirect
131138
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
132-
github.com/jinzhu/copier v0.3.5 // indirect
139+
github.com/jinzhu/copier v0.4.0 // indirect
133140
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
134141
github.com/jjti/go-spancheck v0.6.2 // indirect
135142
github.com/jmespath/go-jmespath v0.4.0 // indirect
@@ -154,7 +161,7 @@ require (
154161
github.com/maratori/testableexamples v1.0.0 // indirect
155162
github.com/maratori/testpackage v1.1.1 // indirect
156163
github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect
157-
github.com/mattn/go-colorable v0.1.13 // indirect
164+
github.com/mattn/go-colorable v0.1.14 // indirect
158165
github.com/mattn/go-isatty v0.0.20 // indirect
159166
github.com/mattn/go-runewidth v0.0.9 // indirect
160167
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
@@ -176,10 +183,11 @@ require (
176183
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
177184
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
178185
github.com/pkg/errors v0.9.1 // indirect
179-
github.com/pmezard/go-difflib v1.0.0 // indirect
186+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
187+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
180188
github.com/polyfloyd/go-errorlint v1.6.0 // indirect
181189
github.com/prometheus/client_golang v1.16.0 // indirect
182-
github.com/prometheus/client_model v0.4.0 // indirect
190+
github.com/prometheus/client_model v0.6.0 // indirect
183191
github.com/prometheus/common v0.44.0 // indirect
184192
github.com/prometheus/procfs v0.10.1 // indirect
185193
github.com/pseudomuto/protokit v0.2.0 // indirect
@@ -191,6 +199,7 @@ require (
191199
github.com/rs/zerolog v1.33.0 // indirect
192200
github.com/ryancurrah/gomodguard v1.3.5 // indirect
193201
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
202+
github.com/sagikazarmark/locafero v0.7.0 // indirect
194203
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect
195204
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
196205
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
@@ -201,18 +210,18 @@ require (
201210
github.com/sivchari/containedctx v1.0.3 // indirect
202211
github.com/sivchari/tenv v1.10.0 // indirect
203212
github.com/sonatard/noctx v0.0.2 // indirect
213+
github.com/sourcegraph/conc v0.3.0 // indirect
204214
github.com/sourcegraph/go-diff v0.7.0 // indirect
205-
github.com/spf13/afero v1.11.0 // indirect
206-
github.com/spf13/cast v1.5.0 // indirect
215+
github.com/spf13/afero v1.12.0 // indirect
216+
github.com/spf13/cast v1.7.1 // indirect
207217
github.com/spf13/cobra v1.8.1 // indirect
208-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
209-
github.com/spf13/pflag v1.0.5 // indirect
210-
github.com/spf13/viper v1.15.0 // indirect
218+
github.com/spf13/pflag v1.0.6 // indirect
219+
github.com/spf13/viper v1.20.0 // indirect
211220
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
212221
github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect
213222
github.com/stretchr/objx v0.5.2 // indirect
214-
github.com/stretchr/testify v1.9.0 // indirect
215-
github.com/subosito/gotenv v1.4.2 // indirect
223+
github.com/stretchr/testify v1.10.0 // indirect
224+
github.com/subosito/gotenv v1.6.0 // indirect
216225
github.com/tdakkota/asciicheck v0.2.0 // indirect
217226
github.com/tetafro/godot v1.4.17 // indirect
218227
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect
@@ -230,37 +239,38 @@ require (
230239
go-simpler.org/musttag v0.12.2 // indirect
231240
go-simpler.org/sloglint v0.7.2 // indirect
232241
go.opencensus.io v0.24.0 // indirect
242+
go.opentelemetry.io/contrib/detectors/gcp v1.29.0 // indirect
233243
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect
234244
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
235245
go.opentelemetry.io/otel v1.29.0 // indirect
236246
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 // indirect
237247
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 // indirect
238248
go.opentelemetry.io/otel/metric v1.29.0 // indirect
239-
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
249+
go.opentelemetry.io/otel/sdk v1.29.0 // indirect
250+
go.opentelemetry.io/otel/sdk/metric v1.29.0 // indirect
240251
go.opentelemetry.io/otel/trace v1.29.0 // indirect
241252
go.uber.org/automaxprocs v1.5.3 // indirect
242253
go.uber.org/multierr v1.11.0 // indirect
243254
go.uber.org/zap v1.25.0 // indirect
244255
golang.org/x/crypto v0.36.0 // indirect
245256
golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e // indirect
246257
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
247-
golang.org/x/mod v0.21.0 // indirect
258+
golang.org/x/mod v0.23.0 // indirect
248259
golang.org/x/net v0.38.0 // indirect
249260
golang.org/x/oauth2 v0.27.0 // indirect
250261
golang.org/x/sync v0.12.0 // indirect
251262
golang.org/x/sys v0.31.0 // indirect
252263
golang.org/x/term v0.30.0 // indirect
253264
golang.org/x/text v0.23.0 // indirect
254-
golang.org/x/time v0.6.0 // indirect
255-
golang.org/x/tools v0.24.0 // indirect
256-
google.golang.org/api v0.196.0 // indirect
257-
google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 // indirect
258-
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed // indirect
259-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
260-
google.golang.org/grpc v1.66.0 // indirect
261-
google.golang.org/protobuf v1.34.2 // indirect
265+
golang.org/x/time v0.8.0 // indirect
266+
golang.org/x/tools v0.30.0 // indirect
267+
google.golang.org/api v0.215.0 // indirect
268+
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
269+
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
270+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241223144023-3abc09e42ca8 // indirect
271+
google.golang.org/grpc v1.67.3 // indirect
272+
google.golang.org/protobuf v1.36.1 // indirect
262273
gopkg.in/inf.v0 v0.9.1 // indirect
263-
gopkg.in/ini.v1 v1.67.0 // indirect
264274
gopkg.in/yaml.v2 v2.4.0 // indirect
265275
gopkg.in/yaml.v3 v3.0.1 // indirect
266276
honnef.co/go/tools v0.5.1 // indirect

0 commit comments

Comments
 (0)