Skip to content
This repository was archived by the owner on Jul 30, 2019. It is now read-only.

[REVIEW] Minor changes to conda recipe #47

Open
wants to merge 2 commits into
base: branch-0.8
Choose a base branch
from

Conversation

ravigumm
Copy link

  1. Because dask-cudf has the dependencies like dask, distributed,
    python and cudf, we can remove them as direct dependencies of
    dask-cuml.
  2. 'test' section can check import of dask_cuml instead of some of
    its dependencies.

1. Because dask-cudf has the dependencies like dask, distributed,
 python and cudf, we can remove them as direct dependencies of
 dask-cuml.
2. 'test' section can check import of dask_cuml instead of some of
its dependencies.
@ravigumm
Copy link
Author

Would someone please review this PR ? Thanks.

@ravigumm
Copy link
Author

Hi @dantegd, Would you please review ? Thanks.

@@ -32,27 +32,17 @@ build:

requirements:
build:
- python
- cudf 0.7*
- dask >=0.19.0
Copy link
Member

Choose a reason for hiding this comment

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

We should keep python here.

- dask-cudf 0.7*
- dask-cuda 0.7*
run:
- python
- cudf 0.7*
- dask >=0.19.0
Copy link
Member

Choose a reason for hiding this comment

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

Would also keep python and dask here.

Copy link
Author

Choose a reason for hiding this comment

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

I thought the indirect dependency of python(or dask) through dask-cudf is good enough. Any specific reason why we still want to add them explicitly ?

Copy link
Member

Choose a reason for hiding this comment

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

It's best practice to list explicit requirements. We are using dask in this library explicitly.

Also we need to list everything in run that we expect to be installed with this package. That includes python.

ref: https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/building-conda-packages.html#edit-the-skeleton-files

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

Successfully merging this pull request may close these issues.

3 participants