-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
Interdependency with ginkgo pollutes go.sum of downstream projects #390
Comments
🤮 thanks for calling this out. Will try to fix it with the next releases. |
I agree this is ugly. It could be very hard (or impossible) to synchronously release Ginkgo and Gomega because we would have to know the checksums in advance to put into |
....indeed. Anyone know of an idiomatic way to resolve this? Can we specific a floating server so that, e.g. Gomega imports |
We do that. The Some unpalatable options that I’ve thought of so far are:
|
@myitcv any ideas? |
That list seems pretty comprehensive, thanks @blgm Ironically the two are actually quite decoupled - the coupling only enters in because they leverage each other in their respective test suites. |
Sorry for the slow reply, I've been off-radar for the last ~week. This issue will be fixed by golang/go#36460. Having cyclic module dependencies should not be an issue, and golang/go#36460 will ensure that is the case. In particular, if you look through the design doc linked from that issue (https://go.googlesource.com/proposal/+/master/design/36460-lazy-module-loading.md) you will note golang/go#36369 and friends which are all (in)directly related to the problem you describe. |
Thanks @myitcv! That’s really helpful. |
On a project which uses go-redis which uses ginkgo v1.13.0 in its testsuite:
Each version of
ginkgo
depends on an older version ofgomega
which brings an older version ofginkgo
which...Each old
ginkgo
orgomega
version brings obsolete references ingo.sum
which are not relevant for the build.Please make make a serie of synchronised release of both
gomega
andginkgo
where all their external dependencies are at the same versions to break the chain.The text was updated successfully, but these errors were encountered: