You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pb...@apache.org on 2025/08/18 18:05:01 UTC

(yunikorn-core) branch master updated: [YUNIKORN-3114] change yaml package (#1027)

This is an automated email from the ASF dual-hosted git repository.

pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git


The following commit(s) were added to refs/heads/master by this push:
     new a6054369 [YUNIKORN-3114] change yaml package (#1027)
a6054369 is described below

commit a6054369f7f4dfeaaa75955be535871e8d6e3770
Author: Peter Bacsko <ba...@gmail.com>
AuthorDate: Mon Aug 18 20:04:51 2025 +0200

    [YUNIKORN-3114] change yaml package (#1027)
    
    Change import from "gopkg.in/yaml.v3" to "go.yaml.in/yaml/v3"
    
    Closes: #1027
    
    Signed-off-by: Peter Bacsko <ba...@gmail.com>
---
 go.mod                            | 2 +-
 go.sum                            | 2 ++
 pkg/common/configs/config.go      | 2 +-
 pkg/common/configs/config_test.go | 2 +-
 pkg/webservice/handlers.go        | 2 +-
 pkg/webservice/handlers_test.go   | 2 +-
 6 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/go.mod b/go.mod
index dc6a3321..87e00a7f 100644
--- a/go.mod
+++ b/go.mod
@@ -35,11 +35,11 @@ require (
 	github.com/prometheus/common v0.45.0
 	github.com/sasha-s/go-deadlock v0.3.5
 	go.uber.org/zap v1.27.0
+	go.yaml.in/yaml/v3 v3.0.4
 	golang.org/x/exp v0.0.0-20250228200357-dead58393ab7
 	golang.org/x/net v0.36.0
 	golang.org/x/time v0.10.0
 	google.golang.org/grpc v1.71.0
-	gopkg.in/yaml.v3 v3.0.1
 	gotest.tools/v3 v3.5.2
 )
 
diff --git a/go.sum b/go.sum
index b7dd89ae..50ec1596 100644
--- a/go.sum
+++ b/go.sum
@@ -64,6 +64,8 @@ go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ=
 go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
 go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
 go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
+go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
+go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
 golang.org/x/exp v0.0.0-20250228200357-dead58393ab7 h1:aWwlzYV971S4BXRS9AmqwDLAD85ouC6X+pocatKY58c=
 golang.org/x/exp v0.0.0-20250228200357-dead58393ab7/go.mod h1:BHOTPb3L19zxehTsLoJXVaTktb06DFgmdW6Wb9s8jqk=
 golang.org/x/net v0.36.0 h1:vWF2fRbw4qslQsQzgFqZff+BItCvGFQqKzKIzx1rmoA=
diff --git a/pkg/common/configs/config.go b/pkg/common/configs/config.go
index 4c09db40..ce91d9cc 100644
--- a/pkg/common/configs/config.go
+++ b/pkg/common/configs/config.go
@@ -27,7 +27,7 @@ import (
 	"strings"
 
 	"go.uber.org/zap"
-	"gopkg.in/yaml.v3"
+	"go.yaml.in/yaml/v3"
 
 	"github.com/apache/yunikorn-core/pkg/log"
 )
diff --git a/pkg/common/configs/config_test.go b/pkg/common/configs/config_test.go
index 307a4479..f0710b59 100644
--- a/pkg/common/configs/config_test.go
+++ b/pkg/common/configs/config_test.go
@@ -28,7 +28,7 @@ import (
 
 	"gotest.tools/v3/assert"
 
-	"gopkg.in/yaml.v3"
+	"go.yaml.in/yaml/v3"
 )
 
 var emptySum = ""
diff --git a/pkg/webservice/handlers.go b/pkg/webservice/handlers.go
index 9248cb15..c8d5fc30 100644
--- a/pkg/webservice/handlers.go
+++ b/pkg/webservice/handlers.go
@@ -35,7 +35,7 @@ import (
 	"github.com/julienschmidt/httprouter"
 	"github.com/prometheus/client_golang/prometheus/promhttp"
 	"go.uber.org/zap"
-	"gopkg.in/yaml.v3"
+	"go.yaml.in/yaml/v3"
 
 	"github.com/apache/yunikorn-core/pkg/common"
 	"github.com/apache/yunikorn-core/pkg/common/configs"
diff --git a/pkg/webservice/handlers_test.go b/pkg/webservice/handlers_test.go
index ccca1fe6..e9969393 100644
--- a/pkg/webservice/handlers_test.go
+++ b/pkg/webservice/handlers_test.go
@@ -33,7 +33,7 @@ import (
 
 	"github.com/julienschmidt/httprouter"
 	"github.com/prometheus/client_golang/prometheus/promhttp"
-	"gopkg.in/yaml.v3"
+	"go.yaml.in/yaml/v3"
 	"gotest.tools/v3/assert"
 
 	"github.com/apache/yunikorn-core/pkg/common"


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org