Skip to content

Commit

Permalink
Bump github.com/blang/semver to v4.0.0 (#8244)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Feb 25, 2025
1 parent f3dcfa0 commit 1a596f9
Show file tree
Hide file tree
Showing 15 changed files with 110 additions and 115 deletions.
196 changes: 97 additions & 99 deletions ATTRIBUTIONS.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/aws/smithy-go v1.22.3
github.com/awslabs/amazon-eks-ami/nodeadm v0.0.0-20250219002025-c3b5cd3d2fd9
github.com/benjamintf1/unmarshalledmatchers v1.0.0
github.com/blang/semver v3.5.1+incompatible
github.com/blang/semver/v4 v4.0.0
github.com/cenk/backoff v2.2.1+incompatible
github.com/cloudflare/cfssl v1.6.5
github.com/dave/jennifer v1.7.1
Expand Down Expand Up @@ -145,7 +145,6 @@ require (
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bkielbasa/cyclop v1.2.3 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/blizzy78/varnamelen v0.8.0 // indirect
github.com/bombsimon/wsl/v4 v4.5.0 // indirect
github.com/breml/bidichk v0.3.2 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bkielbasa/cyclop v1.2.3 h1:faIVMIGDIANuGPWH031CZJTi2ymOQBULs9H21HSMa5w=
github.com/bkielbasa/cyclop v1.2.3/go.mod h1:kHTwA9Q0uZqOADdupvcFJQtp/ksSnytRMe8ztxG8Fuo=
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
github.com/blizzy78/varnamelen v0.8.0 h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M=
Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/addon/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/eks"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/kris-nova/logger"

api "github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5"
Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/nodegroup/ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/blang/semver"
"github.com/blang/semver/v4"
)

// ParseReleaseVersion parses an AMI release version string that's in the format `1.18.8-20201007`
Expand Down
2 changes: 1 addition & 1 deletion pkg/actions/nodegroup/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/eks"
"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/kris-nova/logger"
"github.com/pkg/errors"

Expand Down
2 changes: 1 addition & 1 deletion pkg/addons/default/aws_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/kris-nova/logger"

appsv1 "k8s.io/api/apps/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/addons/default/scripts/update_coredns_assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/aws/aws-sdk-go-v2/aws"
awseks "github.com/aws/aws-sdk-go-v2/service/eks"
"github.com/blang/semver"
"github.com/blang/semver/v4"

api "github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5"
"github.com/weaveworks/eksctl/pkg/eks"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cfn/manager/nodegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/aws/aws-sdk-go-v2/service/cloudformation/types"
"github.com/aws/aws-sdk-go-v2/service/eks"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/kris-nova/logger"
"github.com/pkg/errors"

Expand Down
2 changes: 1 addition & 1 deletion pkg/kubernetes/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net"
"time"

"github.com/blang/semver"
"github.com/blang/semver/v4"
jsonpatch "github.com/evanphx/json-patch/v5"
"github.com/kris-nova/logger"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/kubectl/kubectl.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/exec"
"strings"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"strings"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/version/generate/release_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"strings"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/dave/jennifer/jen"

"github.com/weaveworks/eksctl/pkg/version"
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package version
import (
"strings"

"github.com/blang/semver"
"github.com/blang/semver/v4"
"github.com/pkg/errors"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/version/parse_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package version

import (
"github.com/blang/semver"
"github.com/blang/semver/v4"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
Expand Down

0 comments on commit 1a596f9

Please sign in to comment.