Skip to content

chore: move from gopkg.in/yaml.v3 to sigs.k8s.io/yaml/goyaml.v3#1727

Closed
wcrum wants to merge 1 commit into
stretchr:masterfrom
wcrum:master
Closed

chore: move from gopkg.in/yaml.v3 to sigs.k8s.io/yaml/goyaml.v3#1727
wcrum wants to merge 1 commit into
stretchr:masterfrom
wcrum:master

Conversation

@wcrum
Copy link
Copy Markdown

@wcrum wcrum commented Apr 7, 2025

gopkg.in/yaml.v3 is unmaintained, move to sigs.k8s.io/yaml as primary maintained version

Summary

Simply modified reference of gopkg.in/yaml.v3 -> sigs.k8s.io/yaml which is a mainted fork of go-yaml.

Changes

Move from on yaml to another yaml provider. Think we can probably remove a lot of the additional comments.

Motivation

Unmaintained dependency poses risk.

Related issues

#1724
#1725

Closes #1724

gopkg.in/yaml.v3 is unmaintained, move to sigs.k8s.io/yaml as primary maintained version
@ccoVeille
Copy link
Copy Markdown
Collaborator

ccoVeille commented Apr 8, 2025

I would say it closes #1724

@dolmen
Copy link
Copy Markdown
Collaborator

dolmen commented Apr 22, 2025

sigs.k8s.io/yaml is not in a better shape, maintenance wise.

For example, my one year old pull request didn't get a review: kubernetes-sigs/yaml#110

So that library is not a good replacement.

@dolmen dolmen closed this Apr 22, 2025
@dolmen dolmen changed the title chore: move to maintained yaml chore: move from gopkg.in/yaml.v3 to sigs.k8s.io/yaml/goyaml.v3 Apr 22, 2025
@dolmen dolmen added the YAML About YAML and dependency label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

YAML About YAML and dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to a maintained yaml package

3 participants