Skip to content

[Core] remove Windows compatibility for Redis - #23991

Merged
wuisawesome merged 2 commits into
ray-project:masterfrom
mwtian:redis-py
Apr 19, 2022
Merged

wuisawesome merged 2 commits into
ray-project:masterfrom
mwtian:redis-py

Conversation

@mwtian

@mwtian mwtian commented Apr 18, 2022 •

Copy link
Copy Markdown
Member

Why are these changes needed?

There should be no reference to Redis in Python anymore except parts of bootstrap code path.

Related issue number

closes #23982

Checks

Comment thread python/requirements.txt
pytest-lazy-fixture
pytest-timeout
pytest-virtualenv
redis >= 3.5.0, < 4.0.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this? If yes, why?

@mwtian mwtian Apr 18, 2022 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Python Redis dependency is still used in two places:

  1. Bootstrapping Ray with external Redis.
  2. test_ray_init.py

Both will removed eventually, but (1) is more involved.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only for testing. We've already removed redis libs as ray direct dependence from setup.py

@wuisawesome

Copy link
Copy Markdown
Contributor

rllib failure looks unrelated, merging.

@wuisawesome
wuisawesome merged commit 2a5c40a into ray-project:master Apr 19, 2022
@wuisawesome

Copy link
Copy Markdown
Contributor

@pcmoritz to decide if this should get cherry-picked for 1.12.1 or not.

@pcmoritz

Copy link
Copy Markdown
Contributor

I think we should cherry pick this :)

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 this pull request may close these issues.

[DEPENDENCIES] Dependency inconsistenct between platform (redis)

4 participants