Remove Modin from Ray wheels. (#5647)

There are several reasons for this:

* We no longer support python2
* There should be only 1 way of installing Modin
  * Issue management on these wheels
* I have never heard of anyone using this feature
* It is rarely kept up to date
* Modin depends on specific versions of Ray because of past API changes
This commit is contained in:
Devin Petersohn
2019-09-05 23:46:27 -07:00
committed by Simon Mo
parent ddadc18ef6
commit c33d6662ce
7 changed files with 1 additions and 73 deletions
-3
View File
@@ -53,9 +53,6 @@ except ImportError as e:
e.args += (helpful_message, )
raise
modin_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "modin")
sys.path.append(modin_path)
from ray._raylet import (
ActorCheckpointID,
ActorClassID,
-25
View File
@@ -1,25 +0,0 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import pytest
import ray
def test_modin_import_with_ray_init(shutdown_only):
ray.init(num_cpus=1)
import modin.pandas as pd
frame_data = [1, 2, 3, 4, 5, 6, 7, 8]
frame = pd.DataFrame(frame_data)
assert frame.sum().squeeze() == sum(frame_data)
# The following can be activated once we have a modin release that
# includes https://github.com/modin-project/modin/pull/472.
@pytest.mark.skip(reason="needs #472 in modin")
def test_modin_import(shutdown_only):
import modin.pandas as pd
frame_data = [1, 2, 3, 4, 5, 6, 7, 8]
frame = pd.DataFrame(frame_data)
assert frame.sum().squeeze() == sum(frame_data)
+1 -7
View File
@@ -90,13 +90,7 @@ class build_ext(_build_ext.build_ext):
for name in filenames:
pyarrow_files.append(os.path.join(root, name))
# Make sure the relevant files for modin get copied.
modin_files = []
for (root, dirs, filenames) in os.walk("./ray/modin"):
for name in filenames:
modin_files.append(os.path.join(root, name))
files_to_include = ray_files + pyarrow_files + modin_files
files_to_include = ray_files + pyarrow_files
# Copy over the autogenerated protobuf Python bindings.
for directory in generated_python_directories: