-
-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bumping the version of Ginkgo gives go conflicting package error #1149
Comments
We are also getting similar error when bumping Gingko to v2.8.3 in Cluster API project. kubernetes-sigs/cluster-api#8143 |
hey @Ankitasw - can you try bumping to 2.8.2 to see if the same issue occurs? 2.8.2 introduced a |
Thanks for the quick response @onsi |
weird for now, some things to explore:
|
I understand, even I don't understand much around it.
Thankyou so much 🙇♀️ So there are two go.mod file in our repo. One is at the root project level, and another one at /hack/tools where tools.go recide.
This is the root go.mod and go.sum files with v2.8.1. This is the go.mod and go.sum for tools.go.
There is no more to the error unfortunately 😞 but this error if thrown by golangci-lint only, and not while go build.
Uhmm.. do you mean go list to check the deps? It gave this output from which I am not able to make out anything 😕 . Let me know if you suspect something there. Please let me know if you need any other info. |
It's ginkgo's new way of being imported. It messed up the |
Oh, I see, I'm tired so I thought this is the cluster-api issue Okay, so ginkgo folks, the move to |
is there anything i can do on my end to unbreak it? i'd sooner roll this back than bump to 3.0! or to put it differently: do you understand (and can you explain) why this is breaking? is it because i'm using a |
(which i'd be happy to do if you're up for bumping to a sha so we can see if it helps) |
in case y'all want to try this - i've dropped the this is on the latest sha: please give it at ry and let me know if it fixes this weird linter issue... |
Sorry @onsi it was super late so I went to bad. Most likely the break comes from a circular dependency appearing if both things use the same build tag somehow. I'm not a 100% sure yet why but I suspect it's a combination of things. It would be enough if you dropped it or used a different tag. Something like I have to figure out some more approaches. Also I'm super thankful for your support! :) |
no worries and happy to help! the latest commit sha uses |
Thanks, great! Will do that! |
Fantastic! :) |
Thanks for pointing in right direction @Skarlso 🙂 |
My pleasure. 😊 and thanks @onsi for the rapid responses on this issue. 🙂 |
@onsi Thanks for the quick look at this issue, so could there be a possibility to make a new release with this change by this week? |
Thx folks for investigating this issue! |
😮💨 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 :) |
Thanks for being so proactive @onsi 🙂 |
Look good: kubernetes-sigs/cluster-api#8143 Thx for the quick fix! |
woot! 🎉 |
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
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?
The text was updated successfully, but these errors were encountered: