Skip to content

Commit e0540cb

Browse files
Update dependencies (#2101)
* upgrade to latest dependencies bumping github.com/modern-go/reflect2 2b33151...35a7c28: > 35a7c28 Merge pull request # 30 from tonistiigi/deadcode-fix > 4a6a3c9 fix deadcode disabling in Go bumping knative.dev/networking 4115314...7d4a198: > 7d4a198 Update community files (# 1098) > 6a680e8 upgrade to latest dependencies (# 1096) bumping github.com/spf13/cobra e94f6d0...40b5bc1: > 40b5bc1 Revert "Make detection for test-binary more universal (# 2173)" (# 2235) > a97f9fd fix CompletionFunc implementation (# 2234) > 5f9c408 chore: Upgrade dependencies for v1.9.0 (# 2233) > 24ada7f Remove the default "completion" cmd if it is alone (# 1559) > 680936a New logo > 8cb30f9 feat: add CompletionWithDesc helper (# 2231) > 17b6dca doc: add Conduit (# 2230) > ab5cadc Allow to reset the templates to the default (# 2229) > 4ba5566 fix(bash): nounset unbound file filter variable on empty extension (# 2228) > 41b26ec Print ActiveHelp for bash along other completions (# 2076) > 611e16c Allow linker to perform deadcode elimination for program using Cobra (# 1956) > 09d5664 Add similar whitespace escape logic to bash v2 completions than in other completions (# 1743) > 6c3c116 feat: add CompletionFunc type to help with completions (# 2220) > 01ffff4 chore: fix function name in comment (# 2216) > 0745e55 completion: improve detection for flags that accept multiple values (# 2210) > d1e9d85 Make detection for test-binary more universal (# 2173) > 9f90567 build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 (# 2206) > 8519630 Update to latest go-md2man (# 2201) > 02326d5 Fix broken links in active_help.md (# 2202) > 5a138f1 Make Powershell completion script work in constrained mode (# 2196) > 3a5efae doc: azion project added to the list of CLIs that use cobra (# 2198) > 5bef9d8 Fix --version help and output for plugins (# 2180) > ff7c561 Improve site formatting (# 2183) > 11ab621 docs: update README.md (# 2197) > 78bfc83 Test also with go 1.23 (# 2182) > 511af59 Replace deprecated ioutil usage (# 2181) > 756ba6d fix(completions): Complete map flags multiple times (# 2174) > 371ae25 Fix deprecation comment for Command.SetOutput (# 2172) bumping knative.dev/serving 2f3129a...cd99679: > cd99679 Update net-istio nightly (# 16228) > 8cf543d Update net-contour nightly (# 16229) > 78814e1 Update net-istio nightly (# 16224) > 5f7aa6e Update net-istio nightly (# 16221) > 41fafd1 Update net-contour nightly (# 16214) > 7c31784 Allow manual scaling of the Pod Autoscaler (# 16186) > 7283f2a Suppress 'default value insecure' warning (# 16218) > 433d1ee Update net-gateway-api nightly (# 16213) > 7ceeaea Update net-kourier nightly (# 16212) > 8e762fd Update net-istio nightly (# 16211) > 029c5be Update community files (# 16210) > 3d3acd2 Bump the github-actions group with 3 updates (# 16207) Signed-off-by: Knative Automation <automation@knative.team> * Fix test failures from k8s.io/apimachinery upgrade to v0.34.1 Two test failures were introduced by the dependency upgrade: 1. pkg/serving/v1/client_test.go:697 - Fixed incorrect use of restrictions.Labels.Matches() instead of restrictions.Fields.Matches(). The newer version of k8s.io/apimachinery added a Lookup method to the labels.Labels interface that fields.Set doesn't implement, causing a compile error that exposed this existing bug. 2. pkg/util/unstructured_test.go - Updated test expectations to match new JSON marshaling behavior. The newer k8s libraries no longer include "creationTimestamp: nil" fields when marshaling objects with zero/nil timestamps. * Update third-party deps to latest versions This is required since some dependencies would now use conflicting versions of the genproto dependency. --------- Signed-off-by: Knative Automation <automation@knative.team> Co-authored-by: Knative Automation <automation@knative.team>
1 parent cbe8e27 commit e0540cb

File tree

10 files changed

+332
-1215
lines changed

10 files changed

+332
-1215
lines changed

go.mod

Lines changed: 38 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module knative.dev/client
22

3-
go 1.24.0
3+
go 1.24.2
44

55
require (
6-
github.com/spf13/cobra v1.8.1
7-
gotest.tools/v3 v3.3.0
8-
k8s.io/api v0.33.5
9-
k8s.io/apimachinery v0.33.5
10-
k8s.io/code-generator v0.33.5
6+
github.com/spf13/cobra v1.9.1
7+
gotest.tools/v3 v3.5.2
8+
k8s.io/api v0.34.1
9+
k8s.io/apimachinery v0.34.1
10+
k8s.io/code-generator v0.34.1
1111
knative.dev/client/pkg v0.0.0-00010101000000-000000000000
12-
knative.dev/hack v0.0.0-20251021013703-4fae78067103
13-
knative.dev/networking v0.0.0-20251030154838-4115314567bb
14-
knative.dev/pkg v0.0.0-20251022152246-7bf6febca0b3
15-
knative.dev/serving v0.47.0
12+
knative.dev/hack v0.0.0-20251103013745-91eedd9bef96
13+
knative.dev/networking v0.0.0-20251103014656-7d4a19889854
14+
knative.dev/pkg v0.0.0-20251104154049-5037c4760829
15+
knative.dev/serving v0.47.1-0.20251110164046-cd99679c3ef4
1616
sigs.k8s.io/yaml v1.6.0
1717
)
1818

@@ -22,62 +22,59 @@ require (
2222
emperror.dev/errors v0.8.1 // indirect
2323
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
2424
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect
25+
github.com/blang/semver/v4 v4.0.0 // indirect
2526
github.com/blendle/zapdriver v1.3.1 // indirect
2627
github.com/cert-manager/cert-manager v1.16.3 // indirect
2728
github.com/cloudevents/sdk-go/sql/v2 v2.15.2 // indirect
2829
github.com/cloudevents/sdk-go/v2 v2.16.1 // indirect
2930
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
3031
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
31-
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
32-
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
32+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
3333
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
3434
github.com/felixge/httpsnoop v1.0.4 // indirect
35-
github.com/fsnotify/fsnotify v1.7.0 // indirect
36-
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
35+
github.com/fsnotify/fsnotify v1.9.0 // indirect
36+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
3737
github.com/go-errors/errors v1.4.2 // indirect
3838
github.com/go-logr/logr v1.4.3 // indirect
3939
github.com/go-logr/stdr v1.2.2 // indirect
4040
github.com/go-openapi/jsonpointer v0.21.0 // indirect
4141
github.com/go-openapi/jsonreference v0.21.0 // indirect
4242
github.com/go-openapi/swag v0.23.0 // indirect
43+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
4344
github.com/gogo/protobuf v1.3.2 // indirect
4445
github.com/google/btree v1.1.3 // indirect
45-
github.com/google/gnostic-models v0.6.9 // indirect
46+
github.com/google/gnostic-models v0.7.0 // indirect
4647
github.com/google/go-cmp v0.7.0 // indirect
4748
github.com/google/go-containerregistry v0.20.3 // indirect
48-
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
4949
github.com/google/uuid v1.6.0 // indirect
5050
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
5151
github.com/hashicorp/golang-lru v1.0.2 // indirect
52-
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect
53-
github.com/imdario/mergo v0.3.16 // indirect
5452
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5553
github.com/josharian/intern v1.0.0 // indirect
5654
github.com/json-iterator/go v1.1.12 // indirect
5755
github.com/kelseyhightower/envconfig v1.4.0 // indirect
5856
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
59-
github.com/magiconair/properties v1.8.7 // indirect
6057
github.com/mailru/easyjson v0.9.0 // indirect
6158
github.com/mitchellh/go-homedir v1.1.0 // indirect
62-
github.com/mitchellh/mapstructure v1.5.0 // indirect
6359
github.com/moby/term v0.5.0 // indirect
6460
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
65-
github.com/modern-go/reflect2 v1.0.2 // indirect
61+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
6662
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
6763
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6864
github.com/opencontainers/go-digest v1.0.0 // indirect
69-
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
65+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
7066
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
7167
github.com/pkg/errors v0.9.1 // indirect
68+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
7269
github.com/rickb777/date v1.20.0 // indirect
7370
github.com/rickb777/plural v1.4.1 // indirect
7471
github.com/robfig/cron/v3 v3.0.1 // indirect
7572
github.com/russross/blackfriday/v2 v2.1.0 // indirect
76-
github.com/spf13/afero v1.10.0 // indirect
77-
github.com/spf13/cast v1.5.1 // indirect
78-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
73+
github.com/sagikazarmark/locafero v0.12.0 // indirect
74+
github.com/spf13/afero v1.15.0 // indirect
75+
github.com/spf13/cast v1.10.0 // indirect
7976
github.com/spf13/pflag v1.0.10 // indirect
80-
github.com/spf13/viper v1.16.0 // indirect
77+
github.com/spf13/viper v1.21.0 // indirect
8178
github.com/subosito/gotenv v1.6.0 // indirect
8279
github.com/x448/float16 v0.8.4 // indirect
8380
github.com/xlab/treeprint v1.2.0 // indirect
@@ -86,17 +83,17 @@ require (
8683
go.opentelemetry.io/otel v1.38.0 // indirect
8784
go.opentelemetry.io/otel/metric v1.38.0 // indirect
8885
go.opentelemetry.io/otel/trace v1.38.0 // indirect
89-
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
9086
go.uber.org/multierr v1.11.0 // indirect
9187
go.uber.org/zap v1.27.0 // indirect
9288
go.yaml.in/yaml/v2 v2.4.2 // indirect
89+
go.yaml.in/yaml/v3 v3.0.4 // indirect
9390
golang.org/x/mod v0.29.0 // indirect
9491
golang.org/x/net v0.46.0 // indirect
9592
golang.org/x/oauth2 v0.30.0 // indirect
96-
golang.org/x/sync v0.17.0 // indirect
97-
golang.org/x/sys v0.37.0 // indirect
93+
golang.org/x/sync v0.18.0 // indirect
94+
golang.org/x/sys v0.38.0 // indirect
9895
golang.org/x/term v0.36.0 // indirect
99-
golang.org/x/text v0.30.0 // indirect
96+
golang.org/x/text v0.31.0 // indirect
10097
golang.org/x/time v0.12.0 // indirect
10198
golang.org/x/tools v0.38.0 // indirect
10299
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
@@ -105,22 +102,20 @@ require (
105102
google.golang.org/protobuf v1.36.8 // indirect
106103
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
107104
gopkg.in/inf.v0 v0.9.1 // indirect
108-
gopkg.in/ini.v1 v1.67.0 // indirect
109-
gopkg.in/yaml.v2 v2.4.0 // indirect
110105
gopkg.in/yaml.v3 v3.0.1 // indirect
111-
k8s.io/apiextensions-apiserver v0.33.5 // indirect
112-
k8s.io/apiserver v0.33.5 // indirect
113-
k8s.io/cli-runtime v0.29.2 // indirect
114-
k8s.io/client-go v0.33.5 // indirect
115-
k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7 // indirect
106+
k8s.io/apiextensions-apiserver v0.34.1 // indirect
107+
k8s.io/apiserver v0.34.1 // indirect
108+
k8s.io/cli-runtime v0.34.1 // indirect
109+
k8s.io/client-go v0.34.1 // indirect
110+
k8s.io/gengo/v2 v2.0.0-20250604051438-85fd79dbfd9f // indirect
116111
k8s.io/klog/v2 v2.130.1 // indirect
117-
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
118-
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
119-
knative.dev/eventing v0.47.0 // indirect
112+
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
113+
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 // indirect
114+
knative.dev/eventing v0.47.1-0.20251107142554-ed2c4f8446f1 // indirect
120115
sigs.k8s.io/gateway-api v1.1.0 // indirect
121116
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
122-
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
123-
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect
117+
sigs.k8s.io/kustomize/api v0.20.1 // indirect
118+
sigs.k8s.io/kustomize/kyaml v0.20.1 // indirect
124119
sigs.k8s.io/randfill v1.0.0 // indirect
125-
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
120+
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
126121
)

0 commit comments

Comments
 (0)