Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vendor: Rollback gopkg.in/yaml.v2 to v2.2.8 #2728

Merged
merged 1 commit into from Nov 12, 2020

Conversation

bobbypage
Copy link
Collaborator

Switch back to gopkg.in/yaml.v2@v2.2.8

go get gopkg.in/yaml.v2@v2.2.8

gopkg.in/yaml.v2@v2.3.0 has a breaking change that is affecting being able to vendor cadvisor into k/k ref kubernetes/kubernetes#96425 (comment) and go-yaml/yaml#670

gopkg.in/yaml.v2@v2.3.0 is a transitive dependency of github.com/prometheus/common@v0.15.0. cadvisor moved to github.com/prometheus/common@v0.15.0 as part of #2716

Downgrade dependent modules (e.g. github.com/prometheus/common) for now to ensure we can stay on gopkg.in/yaml.v2@v2.2.8.

@google-cla google-cla bot added the cla: yes label Nov 12, 2020
@bobbypage
Copy link
Collaborator Author

/cc @dims @dashpole

@dashpole
Copy link
Collaborator

can you link to where it was bumped in the first place?

@bobbypage
Copy link
Collaborator Author

bobbypage commented Nov 12, 2020

It's a transitive dependency of github.com/prometheus/common.

#2716 bumped github.com/prometheus/common@v0.10.0 to github.com/prometheus/common@v0.15.0 in cadvisor.

In turn the bump of gopkg.in/yaml.v2@v2.3.0 in github.com/prometheus/common happened in prometheus/common#242

@bobbypage bobbypage merged commit 6118d8d into google:master Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants