diff --git a/cmd/bisync/bisync_debug_test.go b/cmd/bisync/bisync_debug_test.go index 06ab7b02f..45134730d 100644 --- a/cmd/bisync/bisync_debug_test.go +++ b/cmd/bisync/bisync_debug_test.go @@ -9,7 +9,7 @@ import ( "github.com/rclone/rclone/cmd/bisync/bilib" "github.com/rclone/rclone/fs" "github.com/stretchr/testify/assert" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) const configFile = "../../fstest/test_all/config.yaml" diff --git a/fstest/test_all/config.go b/fstest/test_all/config.go index c296013d8..a9552b5f1 100644 --- a/fstest/test_all/config.go +++ b/fstest/test_all/config.go @@ -9,7 +9,7 @@ import ( "slices" "github.com/rclone/rclone/fs" - yaml "gopkg.in/yaml.v2" + yaml "gopkg.in/yaml.v3" ) // Test describes an integration test to run with `go test` diff --git a/go.mod b/go.mod index 0aa2bdddb..b6bee4964 100644 --- a/go.mod +++ b/go.mod @@ -89,7 +89,7 @@ require ( golang.org/x/time v0.9.0 google.golang.org/api v0.216.0 gopkg.in/validator.v2 v2.0.1 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 storj.io/uplink v1.13.1 ) @@ -212,7 +212,7 @@ require ( google.golang.org/genproto/googleapis/rpc v0.0.0-20250102185135-69823020774d // indirect google.golang.org/grpc v1.69.2 // indirect google.golang.org/protobuf v1.36.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect moul.io/http2curl/v2 v2.3.0 // indirect storj.io/common v0.0.0-20240812101423-26b53789c348 // indirect storj.io/drpc v0.0.35-0.20240709171858-0075ac871661 // indirect