You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
Bug description
The dependency github.com/spf13/cobra has a newer version available v1.6.1. This was supposed to be upgraded as part of the CAPA version bump in #3874. The bump was causing the kctrl tests to fail with the following error:
Due to this, we pinned back the version used by cmd/cli/plugin/package to v1.5.0 for the time being. This issue talks about addressing the test failure and upgrading the cobra version to the latest available.
Affected product area (please put an X in all that apply)
( ) APIs
( ) Addons
(x) CLI
( ) Docs
( ) IAM
( ) Installation
( ) Plugin
( ) Security
( ) Test and Release
( ) User Experience
( ) Developer Experience
Expected behavior
We should be able to safely upgrade the cobra dependency version.
Steps to reproduce the bug
Version (include the SHA if the version is not obvious)
Environment where the bug was observed (cloud, OS, etc)
Relevant Debug Output (Logs, manifests, etc)
The text was updated successfully, but these errors were encountered:
Thanks for this report @srm09 .
We have a blocked PR that was meant to upgrade cobra to v1.6.1 for all of Framework: #3695
The failure in the package plugin was concerning me however.
The PR also pinned the package plugin to cobra v1.5.0 but I wasn't sure that was sufficient. I was concerned that other plugins may have a similar problem, but that it was not triggered by CI in their case. And since the problem causes a panic I was hesitant to move forward.
The root cause of the problem is that the package plugin uses github.com/vmware-tanzu/carvel-kapp-controller/cli/pkg/kctrl/cmd which uses github.com/cppforlife/cobrautil which is not compatible with Cobra v1.6.1.
I have posted a fix to github.com/cppforlife/cobrautil but have got no response: cppforlife/cobrautil#8
Once github.com/cppforlife/cobrautil is fixed, we still need github.com/vmware-tanzu/carvel-kapp-controller to take that fix and then we'll be able to upgrade the package plugin.
Either that or we need to stop using these broken dependencies.
Thank you so much for the fix @marckhouzam. I have created a PR to bump cppforlife/cobrautil and once it's merged, I will upgrade package plugin to take that fix in.
Bug description
The dependency github.com/spf13/cobra has a newer version available
v1.6.1
. This was supposed to be upgraded as part of the CAPA version bump in #3874. The bump was causing the kctrl tests to fail with the following error:Due to this, we pinned back the version used by
cmd/cli/plugin/package
to v1.5.0 for the time being. This issue talks about addressing the test failure and upgrading the cobra version to the latest available.Affected product area (please put an X in all that apply)
Expected behavior
We should be able to safely upgrade the cobra dependency version.
Steps to reproduce the bug
Version (include the SHA if the version is not obvious)
Environment where the bug was observed (cloud, OS, etc)
Relevant Debug Output (Logs, manifests, etc)
The text was updated successfully, but these errors were encountered: