usage of gopkg.in/yaml.v3 is conflicting with go.yaml.in/yaml/v3 #2034
Answered
by
stefanprodan
poornachandratejasvi
asked this question in
Q&A
-
|
package building is failing with below error with other tools use go.yaml.in/yaml/v3 /root/go/pkg/mod/k8s.io/kube-openapi@v0.0.0-20250318190949-c8a335a9a2ff/pkg/util/proto/document_v3.go:291:31: cannot use s.GetDefault().ToRawInfo() (value of type *"go.yaml.in/yaml/v3".Node) as *"gopkg.in/yaml.v3".Node value in argument to parseV3Interface how to fix this |
Beta Was this translation helpful? Give feedback.
Answered by
stefanprodan
Jul 15, 2025
Replies: 1 comment 4 replies
-
|
You need to update |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
poornachandratejasvi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You need to update
k8s.io/kube-openapito v0.0.0-20250701173324-9bd5c66d9911, you may also needsigs.k8s.io/structured-merge-diff/v4v4.7.0. See this PR for an example: fluxcd/cli-utils#15