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-k8shim.git


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

commit 35fb397e707be0dc70010ccf67cc29942b95287b
Author: Peter Bacsko <[email protected]>
AuthorDate: Mon Aug 18 20:03:22 2025 +0200

    [YUNIKORN-3114] change yaml package (#983)
    
    Change import from "gopkg.in/yaml.v3" to "go.yaml.in/yaml/v3"
    
    Closes: #983
    
    Signed-off-by: Peter Bacsko <[email protected]>
---
 go.mod                                                   | 3 ++-
 go.sum                                                   | 2 ++
 test/e2e/framework/helpers/common/deserializer.go        | 2 +-
 test/e2e/framework/helpers/common/test_queues_configs.go | 2 +-
 test/e2e/framework/helpers/yunikorn/wrappers.go          | 2 +-
 5 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/go.mod b/go.mod
index ee6fcbf5..3a0b85b8 100644
--- a/go.mod
+++ b/go.mod
@@ -33,7 +33,7 @@ require (
        github.com/prometheus/client_golang v1.22.0
        github.com/sasha-s/go-deadlock v0.3.5
        go.uber.org/zap v1.27.0
-       gopkg.in/yaml.v3 v3.0.1
+       go.yaml.in/yaml/v3 v3.0.4
        gotest.tools/v3 v3.5.2
        k8s.io/api v0.33.1
        k8s.io/apimachinery v0.33.1
@@ -140,6 +140,7 @@ require (
        gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
        gopkg.in/inf.v0 v0.9.1 // indirect
        gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
+       gopkg.in/yaml.v3 v3.0.1 // indirect
        k8s.io/apiextensions-apiserver v0.0.0 // indirect
        k8s.io/cloud-provider v0.33.1 // indirect
        k8s.io/controller-manager v0.33.1 // indirect
diff --git a/go.sum b/go.sum
index 19e99198..2ea6fdf5 100644
--- a/go.sum
+++ b/go.sum
@@ -248,6 +248,8 @@ go.uber.org/multierr v1.11.0 
h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
 go.uber.org/multierr v1.11.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/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
 golang.org/x/crypto v0.35.0/go.mod 
h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
 golang.org/x/exp v0.0.0-20250228200357-dead58393ab7 
h1:aWwlzYV971S4BXRS9AmqwDLAD85ouC6X+pocatKY58c=
diff --git a/test/e2e/framework/helpers/common/deserializer.go 
b/test/e2e/framework/helpers/common/deserializer.go
index 09457c1f..749a8c5e 100644
--- a/test/e2e/framework/helpers/common/deserializer.go
+++ b/test/e2e/framework/helpers/common/deserializer.go
@@ -19,7 +19,7 @@
 package common
 
 import (
-       "gopkg.in/yaml.v3"
+       "go.yaml.in/yaml/v3"
        "k8s.io/apimachinery/pkg/runtime"
        "k8s.io/client-go/kubernetes/scheme"
 )
diff --git a/test/e2e/framework/helpers/common/test_queues_configs.go 
b/test/e2e/framework/helpers/common/test_queues_configs.go
index 20884d9e..f449a3a3 100644
--- a/test/e2e/framework/helpers/common/test_queues_configs.go
+++ b/test/e2e/framework/helpers/common/test_queues_configs.go
@@ -26,7 +26,7 @@ import (
 
        "github.com/apache/yunikorn-core/pkg/common/configs"
 
-       "gopkg.in/yaml.v3"
+       "go.yaml.in/yaml/v3"
 )
 
 // Converts partitionsWrapper to YAML string
diff --git a/test/e2e/framework/helpers/yunikorn/wrappers.go 
b/test/e2e/framework/helpers/yunikorn/wrappers.go
index e0ccb778..26a9237d 100644
--- a/test/e2e/framework/helpers/yunikorn/wrappers.go
+++ b/test/e2e/framework/helpers/yunikorn/wrappers.go
@@ -21,7 +21,7 @@ package yunikorn
 import (
        "time"
 
-       "gopkg.in/yaml.v3"
+       "go.yaml.in/yaml/v3"
        v1 "k8s.io/api/core/v1"
 
        "github.com/apache/yunikorn-k8shim/pkg/common/constants"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to