-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Add modin tests #16260
Add modin tests #16260
Conversation
Can you make sure that test_modin is run in the CI? You’d have to add it to one of the build files. You can probably just follow the same as what’s being done for dask. Also cc @rkooo567 |
Btw how are these tests written? Did we copy from the modin repo? |
Yup, they're from here, details are in the license bit at the top of the file and in |
Oh hmm, do we only run tests on Python 3.6 for linux? The latest versions of Modin only run on 3.7+ because of a pandas dependency. It's passing on the Windows runs though, which uses 3.7 |
@amogkam Added test_modin to medium tests k to z, and added a skip for what looks like an incorrectly written test in |
@amogkam , can you please rereview this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amogkam made the changes, I'm keeping the updated modin dependency in the the main requirements.txt since it looks like the travis and build kite runs still try to run test_modin as part of Small & Large with 3.6 and 3.7, which would error out because of modin's strict ray versioning requirements if we don't enforce >= 0.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Please ping when tests pass
@amogkam Good to go! |
Why are these changes needed?
Adds modin tests that run with and without ray client. For reviewers: most of
test_modin.py
is copied from modin's unit tests that cover basic dataframe operations. The parts added in to run with ray client are in this section.Currently we need to install a commit from modin's master branch, since one of the fixes that gets it to work with client isn't in a release yet. We can change this to be
modin >= 0.10
once its released.Related issue number
Covers ray's end of modin-project/modin#3085
Checks
scripts/format.sh
to lint the changes in this PR.