chore: migrate to maintained YAML library#1651
Merged
SpencerTorres merged 1 commit intoClickHouse:mainfrom Sep 11, 2025
Merged
Conversation
The library `gopkg.in/yaml.v3` is unmaintained since 2025-04-01: https://github.com/go-yaml/yaml#this-project-is-unmaintained There's an official fork of the YAML project at https://github.com/yaml/go-yaml which works as a drop-in replacement and where the development will continue. This change set replaces the old `gopkg.in/yaml.v3` with the new `go.yaml.in/yaml/v3`. Please note that `gopkg.in/yaml.v3` is still being used in tests as an indirect dependency via `github.com/stretchr/testify/assert/yaml`. ``` ❯ go mod why gopkg.in/yaml.v3 github.com/ClickHouse/clickhouse-go/v2/tests github.com/stretchr/testify/assert github.com/stretchr/testify/assert/yaml gopkg.in/yaml.v3 ``` See stretchr/testify#1724 for the respective GitHub issue.
SpencerTorres
approved these changes
Sep 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The library
gopkg.in/yaml.v3is unmaintained since 2025-04-01:https://github.com/go-yaml/yaml#this-project-is-unmaintained
There's an official fork of the YAML project at https://github.com/yaml/go-yaml which works as a drop-in replacement and where the development will continue.
This change set replaces the old
gopkg.in/yaml.v3with the newgo.yaml.in/yaml/v3.Please note that
gopkg.in/yaml.v3is still being used in tests as an indirect dependency viagithub.com/stretchr/testify/assert/yaml.See stretchr/testify#1724 for the respective GitHub issue.
For the CHANGELOG (Other Changes):
Checklist
Delete items not relevant to your PR:
go.yaml.in/yaml/v3being a drop-in replacement)