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

Ray does not work with most recent version of redis #3334

Closed
devin-petersohn opened this issue Nov 15, 2018 · 6 comments · Fixed by #3379
Closed

Ray does not work with most recent version of redis #3334

devin-petersohn opened this issue Nov 15, 2018 · 6 comments · Fixed by #3379

Comments

@devin-petersohn
Copy link
Member

devin-petersohn commented Nov 15, 2018

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Multiple
  • Ray installed from (source or binary): source (current master)
  • Ray version: -
  • Python version: Multiple
  • Exact command to reproduce: ray.init()

Describe the problem

Multiple people have installed Modin and are receiving this error. modin-project/modin#259

redis.exceptions.DataError: Invalid input of type: 'NoneType'. Convert to a byte, string or number first.

I was able to reproduce by running

pip install -U redis

And then

import ray
ray.init()

Redis recently released. I believe we need to pin Ray to a specific version of the library dependencies for compatibility purposes.

@simon-mo
Copy link
Contributor

I can re-produce this. A temporary fix will be:

pip install -U redis==2.10.6

@devin-petersohn
Copy link
Member Author

I removed the release-blocker tag since we have pinned Ray to version 2.10.6. We can investigate upgrading redis after the release.

@richardliaw
Copy link
Contributor

This issue has come up multiple times; should we pin?

@robertnishihara
Copy link
Collaborator

@richardliaw, we already have in #3333.

I think the next step is to just fix the issue.

@robertnishihara
Copy link
Collaborator

I'll take a quick look at it now.

@devin-petersohn
Copy link
Member Author

Closed via #3379

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants