Skip to content
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

[BUG] github.com/hibiken/asynq/tools v0.0.0-20210902125602-b3ef9e91a9ce build fails #325

Closed
lufishggg opened this issue Sep 14, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@lufishggg
Copy link

Describe the bug
Build fails

To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):

  1. go get github.com/hibiken/asynq/tools/asynq@b3ef9e91a9ce

Expected behavior
Build success and we can use cli tools.

Screenshots
image

Environment (please complete the following information):

  • OS: MacOS
  • go1.16.2
@lufishggg lufishggg added the bug Something isn't working label Sep 14, 2021
@crossworth
Copy link
Contributor

Hello, sorry for the delay.

You seems to be using redis v7, there was a PR a few days ago that added support for redis v8, maybe updating your redis dependency (if possible), would solve this problem.

Otherwise try using the v0.18.4 version.

#298

@lufishggg
Copy link
Author

Try not to build in the repo. Just go to a new directory, init a new go module and go get github.com/hibiken/asynq/tools/asynq

@lufishggg
Copy link
Author

This might be a bug for go module. Try to update the version of github.com/hibiken/asynq from v0.17.1 to v1.18.5 in the go.mod file of module github.com/hibiken/asynq/tools.

https://github.com/hibiken/asynq/blob/master/tools/go.mod:

github.com/hibiken/asynq v0.17.1 => github.com/hibiken/asynq v0.18.5

@hibiken
Copy link
Owner

hibiken commented Sep 30, 2021

@lufishggg Thank you for reporting this issue!
Yes, you're right. We should update that go.mod file you referenced, we should remove the replace directive and use the proper version of asynq.

@hibiken
Copy link
Owner

hibiken commented Oct 3, 2021

@lufishggg Should be able to download the CLI now since I release a new package version. Let me know if you still run into an issue.

@lufishggg
Copy link
Author

The problem is solved. Thanks!

@hibiken hibiken closed this as completed Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants