-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Ship Modin with Ray. #3109
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
Merged
Merged
Ship Modin with Ray. #3109
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a16dffd
Shipping Modin with Ray
devin-petersohn 7adc712
Remove pytest because of import issues
devin-petersohn 0ac694e
Update Modin version
devin-petersohn 7797fd5
Add --no-check-certificate
devin-petersohn cd9cf7a
Test
devin-petersohn 3ac4dde
Add Modin to pythonpath to ensure it is found during travis testing
devin-petersohn 6131b5e
Addressing comments
devin-petersohn 7f26369
Lint
devin-petersohn 5f78131
Update lint
devin-petersohn a13e3cb
Debug failure
devin-petersohn a6a6d5c
Try with pip download
devin-petersohn c52eb92
Ensure correct usage of pip
devin-petersohn 070579e
Trying with wget
devin-petersohn 5a35bf6
Trying with curl
devin-petersohn 3a824ad
fix curl
devin-petersohn 83bf78f
fix curl
devin-petersohn 755911c
fix
devin-petersohn f7d857f
fix
devin-petersohn d9637bf
test
devin-petersohn 08f545a
fix
devin-petersohn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| from __future__ import absolute_import | ||
| from __future__ import division | ||
| from __future__ import print_function | ||
|
|
||
| import ray # noqa F401 | ||
|
|
||
|
|
||
| def test_modin_import(): | ||
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -x | ||
|
|
||
| # Cause the script to exit if a single command fails. | ||
| set -e | ||
|
|
||
| if [[ -z "$1" ]]; then | ||
| PYTHON_EXECUTABLE=`which python` | ||
| else | ||
| PYTHON_EXECUTABLE=$1 | ||
| fi | ||
|
|
||
| PYTHON_VERSION="$($PYTHON_EXECUTABLE -c 'import sys; print(sys.version_info[0])')" | ||
|
|
||
| TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)/../ | ||
| MODIN_VERSION=0.2.4 | ||
| MODIN_WHEELS_FNAME="modin-$MODIN_VERSION-py$PYTHON_VERSION-none-any.whl" | ||
| MODIN_WHEELS_URL="https://github.com/modin-project/modin/releases/download/v$MODIN_VERSION/" | ||
|
|
||
| pushd $TP_DIR/../python/ray/ | ||
| rm -rf modin | ||
| mkdir modin | ||
| pushd modin | ||
| curl -kL "$MODIN_WHEELS_URL$MODIN_WHEELS_FNAME" -o "$MODIN_WHEELS_FNAME" | ||
| unzip "$MODIN_WHEELS_FNAME" | ||
| rm "$MODIN_WHEELS_FNAME" | ||
| popd | ||
| popd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.