Skip to content
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 backends to dev requirements #366

Open
wants to merge 2 commits into
base: epic/modin
Choose a base branch
from

Conversation

zmbc
Copy link
Collaborator

@zmbc zmbc commented Jan 9, 2024

Add Modin backends to dev requirements

Description

  • Category: chore
  • JIRA issue: None

For development, we'll want to have some actual backends for Modin installed.

Testing

None

setup.py Outdated
@@ -104,7 +104,8 @@
"dev": doc_requirements
+ test_requirements
+ interactive_requirements
+ modin_requirements,
+ modin_requirements
+ ["ray", "dask"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these be added to the modin_requirements list?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modin has multiple backends (more even than these two) and they are all optional, since you can install any one of them and it will work. We don't want to force our users to install any particular backend, but for development I've been using these two (and I think we will test on these two, once we have automated tests for Modin).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't have naked requirements declared here. Sounds like we need a separate variable to contain these requirements like modin_test_requirements. If we have automated tests for these, they should at least be within the "test" extra otherwise tests will fail if you only install .[test].

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmudambi I've updated this; let me know if it is better now. We don't actually have the automated tests yet, but we will want them before we merge the Modin epic.

test_requirements = [
"pytest",
"pytest-mock",
]
] + modin_test_engines_requirements
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused. Is there a situation in which we would want to be able to install our test requirements but not the modin test requirements? If so, we aren't able to as you have it, but if we wouldn't, why not just include ray and dask in the test-requirements directly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could include ray and dask in the test_requirements directly; the idea here was just to make it easier to see the different types of requirements. But if you think it adds confusion, I'll change it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be bundled unless we want to enable a person to install only test without dask/ray and be able to run the tests that don't use them. That seems like an unlikely use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants