-
Notifications
You must be signed in to change notification settings - Fork 211
feat: replace unmaintained serde_yaml with maintained serde_yaml_ng #5527
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
base: main
Are you sure you want to change the base?
Conversation
|
Hi @RoyalOughtness. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly identifies the need to replace the unmaintained serde_yaml crate with the maintained serde_yaml_ng fork. This is a good maintenance step. However, the implementation has a syntax error in Cargo.toml that will prevent the project from building. A closing brace is missing in the dependency definition.
|
/ok-to-test |
|
Thanks for this, I am curious if this will work without some changes of the code because that cargo.lock did update a bunch of stuff. |
Is this an unrelated issue?
I could see if I can scope down the |
|
Yeah if we can keep this PR minimal just replacing serde_yaml with serde_yaml_ng with the less change to the cargo.lock as possible is easier to debug any failures in CI. |
@jmarrero Fixed |
|
I get the idea of this in principle...but the thing is that what seems to have happened with I guess if I had to weigh in on this what I'd probably say is that what we should actually do is follow Kube and actually deprecate our YAML input and only handle kyaml or so... |
|
@RoyalOughtness: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@cgwalters where are you seeing that most crates are still using Getting rid of serde_yaml altogether makes sense too |
Well of those, a really big one in the ecosystem is https://lib.rs/crates/kube-client for example. |
|
kube-rs/kube#1770 is relevant |
|
What about we close this PR in favor of an issue for this repo that mentions kube-rs/kube#1770 so we don't forget to revisit this from time to time? |
See: