ginkgo: Bumping the version of Ginkgo gives go conflicting package error

We are currently using ginkgo version 2.8.1 in the Cluster API Provider for AWS project, but tried bumping the version to 2.8.3 and got the below error

"Running error: context loading failed: failed to load packages: failed to load with go/packages: internal error: go list gives conflicting information for package sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta2 [sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta2.test]"

Surprisingly this error comes only when we try to bump the version. Otherwise we never get this error in our codebase. Refer this PR for more details.

I see no dependencies changed recently for ginkgo. Has anyone else come across this issue? Or maybe it’s a golang issue?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 24 (9 by maintainers)

Most upvoted comments

woot! 🎉

😮‍💨 glad that worked! should cut a release at some point today.

2.8.4 is out now - please take a look and let me know if y’all are set 😃

no worries and happy to help!

the latest commit sha uses ginkgoclidependencies instead of tools - if y’all can give it a try next week and confirm that it works i’ll cut a new release