Skip to content

Commit c24ee86

Browse files
authored
Merge pull request #4342 from apostasie/2025-06-yaml-dep
Move gopkg.in/yaml.v3 to maintained fork
2 parents 43543d9 + e08d320 commit c24ee86

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ require (
6262
github.com/vishvananda/netns v0.0.5 //gomodjail:unconfined
6363
github.com/yuchanns/srslog v1.1.0
6464
go.uber.org/mock v0.5.2
65+
go.yaml.in/yaml/v3 v3.0.3
6566
golang.org/x/crypto v0.39.0
6667
golang.org/x/net v0.41.0
6768
golang.org/x/sync v0.15.0 //gomodjail:unconfined
6869
golang.org/x/sys v0.33.0 //gomodjail:unconfined
6970
golang.org/x/term v0.32.0 //gomodjail:unconfined
7071
golang.org/x/text v0.26.0
71-
gopkg.in/yaml.v3 v3.0.1
7272
gotest.tools/v3 v3.5.2
7373
tags.cncf.io/container-device-interface v1.0.1 //gomodjail:unconfined
7474
)
@@ -117,6 +117,7 @@ require (
117117
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
118118
github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect
119119
github.com/pkg/errors v0.9.1 // indirect
120+
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
120121
github.com/sasha-s/go-deadlock v0.3.5 // indirect
121122
//gomodjail:unconfined
122123
github.com/sirupsen/logrus v1.9.3 // indirect
@@ -141,11 +142,10 @@ require (
141142
google.golang.org/grpc v1.72.2 // indirect
142143
//gomodjail:unconfined
143144
google.golang.org/protobuf v1.36.6 // indirect
145+
gopkg.in/yaml.v3 v3.0.1 // indirect
144146
lukechampine.com/blake3 v1.3.0 // indirect
145147
sigs.k8s.io/yaml v1.4.0 // indirect
146148
tags.cncf.io/container-device-interface/specs-go v1.0.0 // indirect
147149
)
148150

149-
require github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
150-
151151
replace github.com/containerd/nerdctl/mod/tigron v0.0.0 => ./mod/tigron

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
353353
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
354354
go.uber.org/mock v0.5.2 h1:LbtPTcP8A5k9WPXj54PPPbjcI4Y6lhyOZXn+VS7wNko=
355355
go.uber.org/mock v0.5.2/go.mod h1:wLlUxC2vVTPTaE3UD51E0BGOAElKrILxhVSDYQLld5o=
356+
go.yaml.in/yaml/v3 v3.0.3 h1:bXOww4E/J3f66rav3pX3m8w6jDE4knZjGOw8b5Y6iNE=
357+
go.yaml.in/yaml/v3 v3.0.3/go.mod h1:tBHosrYAkRZjRAOREWbDnBXUf08JOwYq++0QNwQiWzI=
356358
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
357359
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
358360
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=

pkg/composer/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232

3333
"github.com/compose-spec/compose-go/v2/types"
3434
"github.com/opencontainers/go-digest"
35-
"gopkg.in/yaml.v3"
35+
"go.yaml.in/yaml/v3"
3636
)
3737

3838
type ConfigOptions struct {

pkg/testutil/images_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222
"sync"
2323

24-
"gopkg.in/yaml.v3"
24+
"go.yaml.in/yaml/v3"
2525
)
2626

2727
//go:embed images.yaml

pkg/testutil/nerdtest/registry/cesanta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import (
2525
"testing"
2626
"time"
2727

28+
"go.yaml.in/yaml/v3"
2829
"golang.org/x/crypto/bcrypt"
29-
"gopkg.in/yaml.v3"
3030
"gotest.tools/v3/assert"
3131

3232
"github.com/containerd/nerdctl/mod/tigron/expect"

0 commit comments

Comments
 (0)