-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
go get -u -t ./...
doesn't get the latest version of this module
#634
Comments
It seems to me that the difficulty here is that So, one solution would be to find a way to drop your project's dependency on Another would be to request that the owners of A third would be to add |
To clarify something,
As bcmills states if you update your project to use |
My project does depend on I hate golang's dependency management so much. |
To be fair its come a long way and this is really down to unmaintained code. I would try to see if your dependency really needs the original or if it could be updated. Try this and see if it works:
|
Sadly, it still needs the old version. The The The dependency in question is doing something that it can't do with the existing methods on github.com/go-redsync/redsync/v4/redis.Conn, unless it changes to run a script just to run a single command. I'll open an issue asking for the |
Since this isn't something that this package can do anything about, are you happy for me to close? |
I still don't know that it'll work right if/once this package is updated. I'm working on it. |
Ok will keep open for now, fingers crossed. |
A similar, non-breaking change would be to define a the method in a separate interface and promise that all (FWIW, that sort of incompatibility is exactly why the advice in https://go.dev/wiki/CodeReviewComments#interfaces is to return concrete types instead of interfaces.) |
Got all the dependencies updated. Thank you. |
Despite the work for #366/#440,
go
still tries to getv2.0.0+incompatible
. This is withgo1.19.2 darwin/amd64
.OK, fine. I'll run that.
Alright, it's got the correct version of
redigo
, now. Good. I don't understand whygo
wasn't smart enough to do that in the first place, though.But the next time I try to update my dependencies, I get the same thing I originally got:
The text was updated successfully, but these errors were encountered: