-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Core] Unable to install ray[all] in python #39727
Comments
I think it is the data package (not core). cc @c21 can you take a look? |
cc @c21. This seems like a blocker for supporting python 3.11. |
@richardliaw can you advise on next steps here? |
Having the same issue, so how to solve it? As mentioned here #39222 for installing rllib I don't need it but getting the error related to arrow when doing a |
So I found a temporary workaround if you are using ray such that is not using the pyarrow package. First I uninstalled existing ray installation. Then I got the source code for pyarrow 6.0.1 from here. In the package I went to ./python and changed the version dependencies
Now that pyarrow 6.0.1 is installed, when I did a |
Speaking as a pyarrow maintainer here: I personally doubt that this is the case. I would suggest that you actually test this again on CI by removing the upper pin and do a Windows test run with the latest pyarrow to check if this indeed still the case, or whether it's fine to remove this pin. Nothing in that original PR for fixing the serialization issue looks as something that might have issues on Windows. Of course, there might have been a Windows-specific bug in pyarrow 7 in the IPC serialization that surfaced by switching to that. But 1) it might be that this is already fixed in the meantime for more recent pyarrow versions, and 2) if there is actually a bug for Windows, it would be nice to report that to pyarrow so we could actually try to fix that. |
@jorisvandenbossche thanks, we'll try removing the upper pin first. |
@scottjlee can you confirm if dupe; than close |
confirming that this is a dupe of #38300; since that issue was created first and has other discussion, we will move to discuss the topic there. |
What happened + What you expected to happen
I realized that one of the requirements blocking the installation of ray in python 3.11 is
pyarrow<7.0.0,>=6.0.1 (from ray[tune])
which is wierd since the compatible version of pyarrow (6.0.1) was released on November 18 2021. This makes it incompatible with many packages in Q3 2023. Is it possible to bump this requirement higher closer to pyarrow 11 or 12?Versions / Dependencies
Python 3.11
Reproduction script
pip install -U "ray[all]"
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: