Raise exception if pyarrow is imported before ray. (#1283)

* Raise exception if pyarrow is imported before ray.

* Pip install pyarrow when building doc so we don't have to mock it.

* Raise ImportError instead of Exception.
This commit is contained in:
Robert Nishihara
2017-12-08 03:34:54 -08:00
committed by Philipp Moritz
parent 2e0eb0e4c7
commit 5adbdfecd0
3 changed files with 7 additions and 2 deletions
-2
View File
@@ -32,8 +32,6 @@ MOCK_MODULES = ["gym",
"tensorflow.python",
"tensorflow.python.client",
"tensorflow.python.util",
"pyarrow",
"pyarrow.plasma",
"smart_open",
"ray.local_scheduler",
"ray.plasma",